From 3b74db520c8f975c0e3cf5a1742ed48a854589f8 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 27 Aug 2024 15:43:43 +0200 Subject: [PATCH 1/1] Leftovers. --- src/catalogue/models/tag.py | 3 --- src/catalogue/templates/catalogue/plain_list.html | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/catalogue/models/tag.py b/src/catalogue/models/tag.py index a5c96d542..af1d67fdb 100644 --- a/src/catalogue/models/tag.py +++ b/src/catalogue/models/tag.py @@ -152,9 +152,6 @@ class Tag(models.Model): def get_absolute_url(self): return reverse('tagged_object_list', args=[self.url_chunk]) - def get_absolute_gallery_url(self): - return reverse('tagged_object_list_gallery', args=[self.url_chunk]) - def get_absolute_catalogue_url(self): # TODO: remove magic. if self.category == 'set': diff --git a/src/catalogue/templates/catalogue/plain_list.html b/src/catalogue/templates/catalogue/plain_list.html index b96eb96cd..eae0eccea 100644 --- a/src/catalogue/templates/catalogue/plain_list.html +++ b/src/catalogue/templates/catalogue/plain_list.html @@ -12,7 +12,7 @@

{{ initial }}

{% endif %} {% for item in object_list %} -

{{ item }}{% if item.count %} ({{ item.count}}){% endif %}

+

{{ item }}{% if item.count %} ({{ item.count}}){% endif %}

{% endfor %} {% if initial_blocks %}{% endif %} {% endfor %} -- 2.20.1