Commit 6fb257c6ff779e63794cb4a836bab79823f8a3f8
1 parent
49182b01
Exists in
master
and in
39 other branches
Removing username from userprofile
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
src/accounts/templates/accounts/user-profile.html
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | {% else %} |
| 17 | 17 | |
| 18 | - {% ifequal request.user.username user_profile.user.username %} | |
| 18 | + {% ifequal request.user user_profile.user %} | |
| 19 | 19 | <span class="success span-24"> |
| 20 | 20 | {% trans "Hey, look at you! Do you want to " %} |
| 21 | 21 | <a href="{% url 'user_profile_update' request.user %}">{% trans "update your profile" %}</a>? |
| ... | ... | @@ -40,9 +40,6 @@ |
| 40 | 40 | <h3>{% trans "Personal Information" %}</h3> |
| 41 | 41 | <ul id="user-info"> |
| 42 | 42 | <li> |
| 43 | - {{ form.username.label_tag }}: {{ user_profile.user.username }} | |
| 44 | - </li> | |
| 45 | - <li> | |
| 46 | 43 | {% render_form_field form.institution user_profile.institution %} |
| 47 | 44 | </li> |
| 48 | 45 | <li> | ... | ... |