1 {% extends "base.html" %}
2 {% load url from future %}
4 {% load pagination_tags %}
8 {% block "main_menu" %}
10 {% main_menu 'object' category %}
12 {% main_menu 'entry_type' entry_type.db %}
16 {% endblock "main_menu" %}
22 {% trans "Category" %}: {{ category }}
23 <h1><a href="{% url 'migdal_category_feed' category.slug %}">RSS</a></h1>
25 {{ entry_type|capfirst }}
26 <h1><a href="{% url 'migdal_entry_list_'|add:entry_type.db|add:'_feed' %}">RSS</a></h1>
29 {% if object_list.promobox and request.page == 1 %}
31 <ul id="promobox-switcher">
32 {% for object in object_list.promobox %}
33 <li {% if forloop.counter == 1 %} class="active"{% endif %}>
34 <a href="{{ object.get_absolute_url }}"
35 >{{ forloop.counter }}</a>
40 <div id="promobox-wrapper">
42 {% for object in object_list.promobox %}
43 {% entry_promobox object forloop.counter %}
52 <p class="submit-link">
53 <a href="{% url 'migdal_submit' %}">{% trans "Submit a new story." %}</a>
58 {% autopaginate object_list 10 %}
59 {% for object in object_list %}
60 {% entry_short object %}