X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..832ab5f1709152367418016e453dc8142a7ac476:/forum/skins/default/templates/user.html?ds=inline diff --git a/forum/skins/default/templates/user.html b/forum/skins/default/templates/user.html index 5931f31..89fd69f 100644 --- a/forum/skins/default/templates/user.html +++ b/forum/skins/default/templates/user.html @@ -3,6 +3,8 @@ {% load extra_tags %} {% load extra_filters %} {% load humanize %} +{% load smart_if %} + {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %} {% block forestyle%} {% endblock %} {% block forejs %} - {% if request.user|can_moderate_users %} - - + {% if request.user.is_superuser or request.user == view_user %} + + + + + + {% endif %} {% block userjs %} {% endblock %} {% endblock %} {% block content %}