{% extends host_template %} {% load i18n cyclope_utils fb_versions obj_perms %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %} {% per_category_perms category as cat_perms %} {% if cat_perms.add_content %}
{% trans "Add content" %}
{% endif %} {% if view_options.navigation == "TOP" %} {% include 'collections/hierarchycal_navigation_block.html' %} {% endif %} {% if view_options.show_title %}

{{ category.name }}

{% endif %} {% if category.description and view_options.show_description or category.image and view_options.show_image %}
{% if category.image and view_options.show_image %} {% endif %} {% if category.description and view_options.show_description %}
{{ category.description|smart_style }}
{% endif %}
{% endif %} {% block category_content %}{% endblock %} {% spaceless %} {% if view_options.navigation == "BOTTOM" %} {% include 'collections/hierarchycal_navigation_block.html' %} {% endif %} {% if page %} {% if view_options.sort_by == "ALPHABETIC" %} {% include 'cyclope/alphabetical_pagination_block.html' %} {% else %} {% include 'cyclope/pagination_block.html' %} {% endif %} {% endif %} {% endspaceless %} {% endblock %}