From dcb340f9cf6bd36830fe5b9e388a3be3c85ad32c Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 1 Jan 2025 11:49:48 +1300 Subject: [PATCH] render_username should not be surrounded by anchor link --- app/templates/community/_community_nav.html | 1 + app/templates/community/community_moderate_subscribers.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/community/_community_nav.html b/app/templates/community/_community_nav.html index a49a9010..39c30b98 100644 --- a/app/templates/community/_community_nav.html +++ b/app/templates/community/_community_nav.html @@ -1,6 +1,7 @@ {% if community %} {% if not community.restricted_to_mods or (community.restricted_to_mods and current_user.is_authenticated and community_membership(current_user, community) in [SUBSCRIPTION_MODERATOR, SUBSCRIPTION_OWNER]) %}
+ {{ _('Create post') }}
{% endif %} diff --git a/app/templates/community/community_moderate_subscribers.html b/app/templates/community/community_moderate_subscribers.html index 4d3090c3..1d4ecd7e 100644 --- a/app/templates/community/community_moderate_subscribers.html +++ b/app/templates/community/community_moderate_subscribers.html @@ -39,7 +39,7 @@ {% for user in subscribers.items %} - {{ render_username(user) }} + {{ render_username(user) }} {% if user.is_local() %} Local {% else %} {{ user.ap_domain }}{% endif %} {{ arrow.get(user.last_seen).humanize(locale=locale) }} @@ -99,7 +99,7 @@ {% for user in banned_people %} - {{ render_username(user) }} + {{ render_username(user) }} {% if user.is_local() %} Local {% else %} {{ user.ap_domain }}{% endif %} {{ user.reports if user.reports > 0 }} {{ user.ip_address if user.ip_address }}