From 860cd861f1458f48f17e3bd0284a6e0d0a45befa Mon Sep 17 00:00:00 2001 From: actlikewill Date: Wed, 4 Sep 2024 21:13:11 +0300 Subject: [PATCH 1/2] fixes breadcrumbs on gazettes listing --- peachjam/templates/peachjam/gazette_list.html | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/peachjam/templates/peachjam/gazette_list.html b/peachjam/templates/peachjam/gazette_list.html index 0c735a179..f3f9c8cdb 100644 --- a/peachjam/templates/peachjam/gazette_list.html +++ b/peachjam/templates/peachjam/gazette_list.html @@ -7,28 +7,26 @@
{% block breadcrumbs %} - {% if place %} - {% endblock %} {% block page-title %}

From de386617b30f54e9b97accdd838a9c0014d247cf Mon Sep 17 00:00:00 2001 From: actlikewill Date: Wed, 4 Sep 2024 21:33:57 +0300 Subject: [PATCH 2/2] adds title case for special issue --- peachjam/views/gazette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peachjam/views/gazette.py b/peachjam/views/gazette.py index 80adf1e7d..97ad16347 100644 --- a/peachjam/views/gazette.py +++ b/peachjam/views/gazette.py @@ -157,7 +157,7 @@ def get_context_data(self, **kwargs): # fold "special issue" into the sub-publication if gazette.special: gazette.sub_publication = " ".join( - [x for x in [gazette.sub_publication, _("Special issue")] if x] + [x for x in [gazette.sub_publication, _("Special Issue")] if x] ) context["documents"] = self.group_documents(context["documents"])