X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..c4a714872ed52a8fe66048cbbb402234ff398980:/forum/skins/default/templates/user_info.html?ds=inline diff --git a/forum/skins/default/templates/user_info.html b/forum/skins/default/templates/user_info.html index 0ce4e77..d5b2666 100644 --- a/forum/skins/default/templates/user_info.html +++ b/forum/skins/default/templates/user_info.html @@ -26,7 +26,7 @@ - {% if view_user != request.user and request.user|can_moderate_users %} + {% if view_user != request.user and request.user.is_superuser %} {% endif %} - {% if request.user|can_view_user_edit:view_user %} + {% ifequal request.user view_user %} - {% endif %} + {% endifequal %}

{% trans "Moderate this user" %}

@@ -37,25 +37,17 @@

{% trans "Registered user" %}