12345678910111213141516171819202122232425262728293031 |
- {% extends "cranefly/layout.html" %}
- {% load i18n %}
- {% load url from future %}
- {% import "cranefly/macros.html" as macros with context %}
- {% block breadcrumb %}{{ super() }} <span class="divider">/</span></li>
- {% for parent in parents %}
- <li><a href="{{ parent.type|url(forum=parent.pk, slug=parent.slug) }}">{{ parent.name }}</a> <span class="divider">/</span></li>
- {% endfor %}
- <li class="active">{{ category.name }}
- {%- endblock %}
- {% block title %}{{ macros.page_title(title=category.name) }}{% endblock %}
- {% block content %}
- <div class="page-header">
- <ul class="breadcrumb">
- {{ self.breadcrumb() }}</li>
- </ul>
- <h1>{{ category.name }}{% if category.description %}<br><small>{{ category.description }}</small>{% endif %}</h1>
- </div>
- {% if category.subforums %}
- <div class="forums-list">
- <div class="category{% if category.style %} {{ category.style }}{% endif %}">
- {{ macros.draw_forums(category, 12) }}
- </div>
- </div>
- {% else %}
- <p class="lead">{% trans %}Looks like there are no forums to display in this category.{% endtrans %}</p>
- {% endif %}
- {% endblock %}
|