{% extends "chrono/manager_resource_list.html" %} {% load i18n %} {% block page-title-extra-label %} - {{ resource.label }} {% endblock %} {% block breadcrumb %} {{ block.super }} {{ resource.label }} {% endblock %} {% block appbar %} {% block appbar-title %}

{{ resource }}

{% endblock %} {% block appbar-extras %} {% if request.user.is_staff %} {% trans 'Edit' %} {% trans 'Delete' %} {% endif %} {% include "chrono/manager_resource_view_buttons_fragment.html" with no_today=True no_opened=True %} {% endblock %} {% endblock %} {% block content %}

{% trans 'Used in meetings agendas' %}

{% with resource.agenda_set.all as agendas %} {% if agendas %} {% else %}
{% blocktrans trimmed %} This resource is not used yet. {% endblocktrans %}
{% endif %} {% endwith %}
{% endblock %}