fnp
/
django-migdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2779a04
)
add title for category/type pages, remove commented out rss links
author
Jan Szejko
<janek37@gmail.com>
Thu, 13 Apr 2017 11:53:40 +0000
(13:53 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 13 Apr 2017 11:54:47 +0000
(13:54 +0200)
migdal/templates/migdal/entry/entry_list.html
patch
|
blob
|
history
diff --git
a/migdal/templates/migdal/entry/entry_list.html
b/migdal/templates/migdal/entry/entry_list.html
index
db57f2b
..
05583bd
100644
(file)
--- a/
migdal/templates/migdal/entry/entry_list.html
+++ b/
migdal/templates/migdal/entry/entry_list.html
@@
-4,16
+4,15
@@
{% load migdal_tags %}
{% load migdal_tags %}
+{% block titleextra %}{% if category %}{{ category.title }} :: {% elif entry_type %}{{ entry_type|capfirst }} :: {% endif %}{% endblock %}
+
+
{% block body %}
{% if category %}
{% block body %}
{% if category %}
- <h1>{% trans "Category" %}: {{ category }}
- <!--a href="{% url 'migdal_category_feed' category.slug %}">RSS</a-->
- </h1>
+ <h1>{% trans "Category" %}: {{ category }}</h1>
{% elif entry_type %}
{% elif entry_type %}
- <h1>{{ entry_type|capfirst }}
- <!--a href="{% url 'migdal_entry_list_'|add:entry_type.db|add:'_feed' %}">RSS</a-->
- </h1>
+ <h1>{{ entry_type|capfirst }}</h1>
{% endif %}
{% if object_list.promobox and request.page == 1 %}
{% endif %}
{% if object_list.promobox and request.page == 1 %}