{% extends "wcs/backoffice.html" %} {% load i18n %} {% block appbar-title %}{{ category.name }}{% endblock %} {% block appbar-actions %} {% if not category.is_readonly %} {% trans "Edit" %} {% endif %} {% endblock %} {% block content %} {{ block.super }} {% if not category.snapshot_object %}
{{ view.last_modification_block|safe }}
{% endif %}

{% trans "Identifier:" %} {{ category.slug }}

{% if category.description %} {{ category.get_description_html_text|safe }} {% endif %}
{% if not category.snapshot_object %}

{% trans view.usage_title %}

{% with view.get_formdefs as formdefs %} {% if formdefs %} {% else %}

{% trans view.empty_message %}

{% endif %} {% endwith %}
{% endif %} {% if category.export_roles or category.statistics_roles or category.management_roles %}

{% trans "Permissions" %}

{% endif %} {% endblock %} {% block sidebar-content %} {% if category.is_readonly %}

{% block sidebar-content-readonly-message %}{% trans "This category is readonly." %}{% endblock %}

{{ view.snapshot_info_block|safe }} {% else %}

{% trans "Navigation" %}

{% include 'wcs/backoffice/includes/applications.html' with applications=category.applications prefix='../' %} {% endif %} {% endblock %}