X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/4c63fbcb3e43afa7a5ee9cbe5024737b3318613c..e2ae19665855f6fb933ad796d4f04f2d7c634f8b:/forum/skins/default/templates/user.html diff --git a/forum/skins/default/templates/user.html b/forum/skins/default/templates/user.html index 5ff0d80..ec852cc 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.is_superuser %} - + {% if request.user.is_superuser or request.user == view_user %} + + + + + + {% endif %} - - {% block userjs %} - {% endblock %} + {% block userjs %}{% endblock %} {% endblock %} {% block content %}
@@ -33,6 +35,5 @@ {% include "users/tabs.html" %} {% block usercontent %} {% endblock %} - {%comment%}{% include "users/footer.html" %}{%endcomment%}
{% endblock %}