From: Jan Szejko Date: Thu, 13 Apr 2017 11:53:40 +0000 (+0200) Subject: add title for category/type pages, remove commented out rss links X-Git-Tag: 0.7.3~1 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/8a057dc935334a9a4ab57331bf5ae6d633bc66df?ds=inline add title for category/type pages, remove commented out rss links --- diff --git a/migdal/templates/migdal/entry/entry_list.html b/migdal/templates/migdal/entry/entry_list.html index db57f2b..05583bd 100644 --- a/migdal/templates/migdal/entry/entry_list.html +++ b/migdal/templates/migdal/entry/entry_list.html @@ -4,16 +4,15 @@ {% load migdal_tags %} +{% block titleextra %}{% if category %}{{ category.title }} :: {% elif entry_type %}{{ entry_type|capfirst }} :: {% endif %}{% endblock %} + + {% block body %} {% if category %} -

{% trans "Category" %}: {{ category }} - -

+

{% trans "Category" %}: {{ category }}

{% elif entry_type %} -

{{ entry_type|capfirst }} - -

+

{{ entry_type|capfirst }}

{% endif %} {% if object_list.promobox and request.page == 1 %}