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 {% autopaginate object_list 10 as page %}
20 {% if object_list.promobox and page_obj.number == 1 %}
22 <ul id="promobox-switcher">
23 {% for object in object_list.promobox %}
24 <li {% if forloop.counter == 1 %} class="active"{% endif %}>
25 <a href="{{ object.get_absolute_url }}"
26 >{{ forloop.counter }}</a>
31 <div id="promobox-wrapper">
33 {% for object in object_list.promobox %}
34 {% entry_promobox object forloop.counter %}
43 <p class="submit-link">
44 <a href="{% url 'migdal_submit' %}">{% trans "Submit a new story, create Right to Culture with us!" %}</a>
48 {% if not object_list %}
49 <p class="warning">{% trans "Work in progress." %}</p>
52 {% for object in page %}
53 {% entry_short object %}