show headline, use badges

This commit is contained in:
Thomas Steen Rasmussen 2017-03-15 22:58:54 +01:00
parent 9997897160
commit c2528129a5
2 changed files with 4 additions and 3 deletions

View file

@ -34,11 +34,11 @@
{{ emailaddress.email }} {{ emailaddress.email }}
{% if emailaddress.verified %} {% if emailaddress.verified %}
<span class="verified">{% trans "Verified" %}</span> <span class="badge">{% trans "Verified" %}</span>
{% else %} {% else %}
<span class="unverified">{% trans "Unverified" %}</span> <span class="badge">{% trans "Unverified" %}</span>
{% endif %} {% endif %}
{% if emailaddress.primary %}<span class="primary">{% trans "Primary" %}</span>{% endif %} {% if emailaddress.primary %}<span class="badge">{% trans "Primary" %}</span>{% endif %}
</label> </label>
</div> </div>
{% endfor %} {% endfor %}

View file

@ -6,6 +6,7 @@
{% block content %} {% block content %}
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<h3>Logged in as {{ request.user.email }}</h3>
<p> <p>
<a href="{% url 'account_change_password' %}" class="btn btn-black"> <a href="{% url 'account_change_password' %}" class="btn btn-black">
Change password Change password