From 00eba98e9f6f6c5847b1cff71560543ac9aaf026 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 21 May 2021 09:50:23 -0700 Subject: [PATCH 1/2] Fixes display of announcement show/hide button on mobile --- bookwyrm/templates/snippets/announcement.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/snippets/announcement.html b/bookwyrm/templates/snippets/announcement.html index a6a7c65b..74dfdb54 100644 --- a/bookwyrm/templates/snippets/announcement.html +++ b/bookwyrm/templates/snippets/announcement.html @@ -4,7 +4,7 @@ class="notification mb-1 p-3{% if not admin_mode %} is-hidden{% endif %} transition-y" {% if not admin_mode %}data-hide="hide-announcement-{{ announcement.id }}"{% endif %} > -
+
{% if announcement.event_date %} {{ announcement.event_date|naturalday|title }}: From d33b55e0250f8adebfc74aeb7759f2939d34cca4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 21 May 2021 09:52:40 -0700 Subject: [PATCH 2/2] Hide delete button text on mobile --- bookwyrm/templates/settings/announcement.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/settings/announcement.html b/bookwyrm/templates/settings/announcement.html index d276d17c..627c360c 100644 --- a/bookwyrm/templates/settings/announcement.html +++ b/bookwyrm/templates/settings/announcement.html @@ -16,8 +16,8 @@
{% csrf_token %}