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 <h1>{% trans "Category" %}: {{ category }}
23 <!--a href="{% url 'migdal_category_feed' category.slug %}">RSS</a-->
26 <h1>{{ entry_type|capfirst }}
27 <!--a href="{% url 'migdal_entry_list_'|add:entry_type.db|add:'_feed' %}">RSS</a-->
31 {% if object_list.promobox and request.page == 1 %}
33 <ul id="promobox-switcher">
34 {% for object in object_list.promobox %}
35 <li {% if forloop.counter == 1 %} class="active"{% endif %}>
36 <a href="{{ object.get_absolute_url }}"
37 >{{ forloop.counter }}</a>
42 <div id="promobox-wrapper">
44 {% for object in object_list.promobox %}
45 {% entry_promobox object forloop.counter %}
54 <p class="submit-link">
55 <a href="{% url 'migdal_submit' %}">{% trans "Submit a new story." %}</a>
60 {% autopaginate object_list 10 %}
61 {% for object in object_list %}
62 {% entry_short object %}