{% 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 %} {% now "Y" as today_year %} {% now "n" as today_month %} {% now "j" as today_day %} {% trans 'Month view' %} {% trans 'Day view' %} {% endblock %} {% endblock %} {% block content %}

{% trans 'Used in meetings agendas' %}

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