This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbba8dd
commit e9e97e0
Showing
2 changed files
with
20 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from gratipay.utils import get_participant | ||
[---] | ||
request.allow('GET', 'POST') | ||
participant = get_participant(state, restrict=False) | ||
title = _("Identities") | ||
[---] text/html | ||
{% extends "templates/profile.html" %} | ||
{% block content %} | ||
{% for identity in participant.list_identity_metadata() %} | ||
<h2>{{ locale.countries[identity.country.code2] }}{% if identity.is_verified %} ✓{% endif %}</h2> | ||
<img class="flag {{ identity.country.code2 }}" | ||
alt="{{ _('verified in: {country}', country=locale.countries[identity.country.code2]) }}" | ||
title="{{ _('verified in: {country}', country=locale.countries[identity.country.code2]) }}" | ||
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGP6zwAAAgcBApocMXEAAAAASUVORK5CYII="> | ||
{% endfor %} | ||
|
||
<hr> | ||
|
||
<button>Add Identity</button> | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.