{# Displays a sidebar module with navigation containing the provided resources. If no resources are provided then the module will not be displayed. pkg - The package dict that owns the resources. active - The id of the currently displayed resource. action - The resource action to use (default: 'read', meaning route 'resource.read'). Example: {% snippet "package/snippets/resources.html", pkg=pkg, active=res.id %} #} {% set resources = pkg.resources or [] %} {% if resources %} {% block resources %}
{% block resources_inner %} {% block resources_title %}

{{ _("Resources") }}

{% endblock %} {% block resources_list %} {% endblock %} {% endblock %}
{% endblock %} {% endif %}