{% extends 'dashboard/layout.html' %} {% load category_tags %} {% load i18n %} {% block body_class %}{{ block.super }} catalogue{% endblock %} {% block title %} {% trans "Category management" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %} {% endblock header %} {% block dashboard_content %}

{% trans "You are editing:" %} {% trans "Home" %} {% if ancestors %} > {% for ancestor in ancestors %} {{ ancestor.name }}{% if not forloop.last %} > {% endif %} {% endfor %} {% endif %}

{% if child_categories %} {% for category in child_categories %} {% endfor %}
{% trans 'Categories' %}
{% trans "Name" %} {% trans "Description" %} {% trans "Number of child categories" %}
{{ category.name }} {{ category.description|default:""|striptags|cut:" "|truncatewords:6 }} {{ category.get_num_children }}
{% else %}

{% trans "There are no categories." %}

{% endif %} {% endblock dashboard_content %}