From: Radek Czajka Date: Tue, 27 Aug 2024 13:43:43 +0000 (+0200) Subject: Leftovers. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/3b74db520c8f975c0e3cf5a1742ed48a854589f8?ds=sidebyside;hp=085a24c27a95689480a9efd31821ea4bf461f19b Leftovers. --- 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 %}