1 {% extends "base.html" %}
3 {% load pagination_tags fnp_prevnext %}
7 {% block titleextra %}{% if category %}{{ category.title }} :: {% elif entry_type %}{{ entry_type|capfirst }} :: {% endif %}{% endblock %}
13 <h1>{% trans "Category" %}: {{ category }}</h1>
15 <h1>{{ entry_type|capfirst }}</h1>
18 {% if object_list.promobox and request.page == 1 %}
20 <ul id="promobox-switcher">
21 {% for object in object_list.promobox %}
22 <li {% if forloop.counter == 1 %} class="active"{% endif %}>
23 <a href="{{ object.get_absolute_url }}"
24 >{{ forloop.counter }}</a>
29 <div id="promobox-wrapper">
31 {% for object in object_list.promobox %}
32 {% entry_promobox object forloop.counter %}
41 <p class="submit-link">
42 <a href="{% url 'migdal_submit' %}">{% trans "Submit a new story, create Right to Culture with us!" %}</a>
46 {% if not object_list %}
47 <p class="warning">{% trans "Work in progress." %}</p>
50 {% autopaginate object_list 10 %}
51 {% for object in object_list %}
52 {% entry_short object %}