Commit ee38db6ef48b871edb6ecd6d262041a951ec648b
1 parent
8020b33a
Exists in
master
and in
39 other branches
Displaying only user's primary email on profile - closes #118
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
src/accounts/templates/accounts/user_detail.html
... | ... | @@ -29,9 +29,7 @@ |
29 | 29 | <div class="divider"></div> |
30 | 30 | {% if request.user.is_active %} |
31 | 31 | <ul class="unstyled-list"> |
32 | - {% for email in user_.emails.iterator %} | |
33 | - <li><span class="icon-envelope icon-fixed-width"></span> {{ email.address }}</li> | |
34 | - {% endfor %} | |
32 | + <li><span class="icon-envelope icon-fixed-width"></span> {{ user_.email }}</li> | |
35 | 33 | </ul> |
36 | 34 | <div class="divider"></div> |
37 | 35 | {% endif %} | ... | ... |