\r
<h3>{% trans "Moderation tools" %}</h3>\r
<p><a href="#" class="ajax-command">{% trans "Reputation bonus" %}</a></p>\r
+{% if not user.is_superuser %}\r
+<p><a href="{% url user_powers id=user.id,action="grant",status="super" %}">{% trans "Grant super user status" %}</a></p>\r
+ {% if not user.is_staff %}\r
+ <p><a href="{% url user_powers id=user.id,action="grant",status="staff" %}">{% trans "Grant moderator status" %}</a></p>\r
+ {% else %}\r
+ <p><a href="{% url user_powers id=user.id,action="remove",status="staff" %}" class="">{% trans "Remove moderator status" %}</a></p>\r
+ {% endif %}\r
+{% else %}\r
+ {% ifequal moderator.id 1 %}\r
+ {% ifnotequal user.id 1 %}\r
+ <p><a href="{% url user_powers id=user.id,action="remove",status="super" %}">{% trans "Remove super user status" %}</a></p>\r
+ {% endifnotequal %}\r
+ {% endifequal %}\r
+{% endif %}\r