add title for category/type pages, remove commented out rss links
[django-migdal.git] / migdal / templates / migdal / entry / entry_list.html
index e144533..05583bd 100644 (file)
@@ -1,20 +1,18 @@
 {% extends "base.html" %}
-{% load url from future %}
 {% load i18n %}
 {% load pagination_tags fnp_prevnext %}
 {% load migdal_tags %}
 
 
-{% block "body" %}
+{% block titleextra %}{% if category %}{{ category.title }} :: {% elif entry_type %}{{ entry_type|capfirst }} :: {% endif %}{% endblock %}
+
+
+{% 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 %}
-    <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 %}
 
 {% if submit %}
     <p class="submit-link">
-    <a href="{% url 'migdal_submit' %}">{% trans "Submit a new story, create Culture's Right with us!" %}</a>
+    <a href="{% url 'migdal_submit' %}">{% trans "Submit a new story, create Right to Culture with us!" %}</a>
     </p>
 {% endif %}
 
+{% if not object_list %}
+   <p class="warning">{% trans "Work in progress." %}</p>
+{% endif %}
 
 {% autopaginate object_list 10 %}
 {% for object in object_list %}
@@ -52,4 +53,4 @@
 {% endfor %}
 {% prevnext %}
 
-{% endblock %}
\ No newline at end of file
+{% endblock %}