- <td class="moderation" align="left" colspan="2">
- {% comment %}{% user_moderation request.user view_user %}{% endcomment %}
- </td>
- </tr>
- {% endif %}
- {% if can_view_private %}
- <tr>
- <td class="user-profile-tool-links" align="left" colspan="2">
- {% joinitems using ' | ' %}
- <span class="user-edit-link"><a href="{% url edit_user id=view_user.id %}">{% trans "update profile" %}</a></span>
- {% separator %}
- <a href="{% url user_authsettings id=view_user.id %}">authentication settings</a>
- {% endjoinitems %}
- </td>
- </tr>
- {% endif %}
- <tr>
- <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
+ <th colspan="2" align="left">
+ <h3>
+ {% if view_user.is_superuser %}
+ {% trans "Administrator" %}
+ {% else %}
+ {% if view_user.is_staff %}
+ {% trans "Moderator" %}
+ {% else %}
+ {% trans "Registered user" %}
+ {% endif %}
+ {% endif %}
+ </h3>
+ </th>