diff --git a/templates/pages/user.html b/templates/pages/user.html index 8426df2..051ee50 100644 --- a/templates/pages/user.html +++ b/templates/pages/user.html @@ -3,6 +3,9 @@ {% block content %}
{{ user.name }} + {% if current_user.is_admin or current_user.id == user.id %} + + {% endif %} {% with seen_text = user.get_last_seen() %} {% if seen_text == 'Online now!' %} {{ seen_text }}