chrono/chrono/manager/templates/chrono/manager_time_period_excepti...

36 lines
1.0 KiB
HTML

{% extends "chrono/manager_agenda_settings.html" %}
{% load i18n %}
{% block extrascripts %}
{{ block.super }}
{{ form.media }}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href=".">{% trans "All exceptions" %}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans "Exceptions" %}</h2>
{% endblock %}
{% block content %}
<div class="timeperiod">
<ul class="objects-list single-links">
{% for exception in object_list %}
<li>
<a href="{% if user_can_manage %}{% url 'chrono-manager-time-period-exception-edit' pk=exception.id %}{% else %}#{% endif %}">{{ exception }}</a>
{% if user_can_manage %}<a rel="popup" class="delete" href="{% url 'chrono-manager-time-period-exception-delete' pk=exception.id %}">{% trans "remove" %}</a>{% endif %}
</li>
{% endfor %}
</ul>
{% if not page_obj %}
<p><a href="{% url 'chrono-manager-time-period-exception-list' desk.pk %}">{% trans "Show more..." %}</a></p>
{% endif %}
{% include "gadjo/pagination.html" %}
</div>
{% endblock %}