| Revision 1278,
582 bytes
checked in by dcabrera, 2 years ago
(diff) |
|
Included category in features views. See #469
|
| Line | |
|---|
| 1 | {% extends "content_view.html" %} |
|---|
| 2 | |
|---|
| 3 | {% load i18n inlinetrans action_tags %} |
|---|
| 4 | |
|---|
| 5 | {% block pagetitle %}{{ content }}{% endblock %} |
|---|
| 6 | |
|---|
| 7 | {% block beforecontentbreadcrumbs %} |
|---|
| 8 | <span class="breadcrumbSeparator">â</span><a href="{% url features_index %}" title="{% trans "Features" %}">{% inline_trans "Features" %}</a> |
|---|
| 9 | {% endblock %} |
|---|
| 10 | |
|---|
| 11 | {% block contentbody %} |
|---|
| 12 | Categories: |
|---|
| 13 | {% for category in content.categories.all %} |
|---|
| 14 | <a href="{{ category.get_absolute_url }}" title="{{ category }}"> |
|---|
| 15 | {{ category }}</a>{% if not forloop.last %},{% endif %} |
|---|
| 16 | {% endfor %} |
|---|
| 17 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.