From 6573d25dd3f601d017c3823a9796a77f54d7f614 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 1 Jan 2025 12:01:51 +1300 Subject: [PATCH] improve mobile navigation in communities --- app/templates/_side_pane.html | 4 +-- app/templates/community/_community_nav.html | 27 +++++++++++++++++-- .../community_moderate_subscribers.html | 2 +- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/app/templates/_side_pane.html b/app/templates/_side_pane.html index dfdcd368..d067159a 100644 --- a/app/templates/_side_pane.html +++ b/app/templates/_side_pane.html @@ -20,14 +20,14 @@ {% endif -%}
- +
{% endblock %} {% block about_community %} -
+

{{ community.title }}

diff --git a/app/templates/community/_community_nav.html b/app/templates/community/_community_nav.html index 39c30b98..d8b4d20e 100644 --- a/app/templates/community/_community_nav.html +++ b/app/templates/community/_community_nav.html @@ -1,8 +1,31 @@ {% 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 %} {% endif %} diff --git a/app/templates/community/community_moderate_subscribers.html b/app/templates/community/community_moderate_subscribers.html index 1d4ecd7e..b77625c8 100644 --- a/app/templates/community/community_moderate_subscribers.html +++ b/app/templates/community/community_moderate_subscribers.html @@ -47,7 +47,7 @@