- {% if view_user != request.user and request.user.is_superuser %}
- <tr>
- <td class="admin" align="left" colspan="2">
- <h3>{% trans "Moderate this user" %}</h3>
- <form id="moderate_user_form" method="post">
- {{moderate_user_form.as_p}}
- </form>
- <p id="action_status"></p>
- </td>
- </tr>
- {% endif %}
- {% ifequal request.user view_user %}
- <tr>
- <td class="user-profile-tool-links" align="left" colspan="2">
- {% joinitems using ' | ' %}
- <span class="user-edit-link"><a href="{% url users %}{{ view_user.id }}/{% trans "edit/" %}">{% trans "update profile" %}</a></span>
- {% separator %}
- <a href="{% url user_authsettings %}">authentication settings</a>
- {% endjoinitems %}
- </td>
- </tr>
- {% endifequal %}