diff --git a/app/templates/base.html b/app/templates/base.html index 571d44c4..718d1d83 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,7 +1,11 @@ {% macro render_username(user, add_domain=True) -%} {% if user.deleted -%} - [deleted] + {% if current_user.is_authenticated and current_user.is_admin() -%} + [deleted] + {% else -%} + [deleted] + {% endif -%} {% else -%} {% if user.avatar_id and not low_bandwidth and not collapsed -%}