0001-update-to-new-appbar-markup-25933.patch
chrono/manager/templates/chrono/manager_agenda_day_view.html | ||
---|---|---|
22 | 22 |
{% endwith %} |
23 | 23 |
<a href="{{ view.get_next_day_url }}">→</a> |
24 | 24 |
</h2> |
25 |
<span class="actions"> |
|
25 | 26 |
{% if user_can_manage %} |
26 | 27 |
<a href="{% url 'chrono-manager-agenda-settings' pk=agenda.id %}">{% trans 'Settings' %}</a> |
27 | 28 |
{% endif %} |
28 | 29 |
<a href="" onclick="window.print()">{% trans 'Print' %}</a> |
30 |
</span> |
|
29 | 31 |
{% endblock %} |
30 | 32 | |
31 | 33 |
{% block content %} |
chrono/manager/templates/chrono/manager_agenda_settings.html | ||
---|---|---|
10 | 10 |
<h2>{% trans "Settings" %} |
11 | 11 |
<span class="identifier">[{% trans "identifier:" %} {{object.slug}}]</span> |
12 | 12 |
</h2> |
13 |
<span class="actions"> |
|
13 | 14 |
{% if user.is_staff %} |
14 | 15 |
<a rel="popup" href="{% url 'chrono-manager-agenda-delete' pk=object.id %}">{% trans 'Delete' %}</a> |
15 | 16 |
{% endif %} |
... | ... | |
23 | 24 |
<a rel="popup" href="{% url 'chrono-manager-agenda-add-desk' pk=object.id %}">{% trans 'New Desk' %}</a> |
24 | 25 |
{% endif %} |
25 | 26 |
{% endif %} |
27 |
</span> |
|
26 | 28 |
{% endblock %} |
27 | 29 | |
28 | 30 |
{% block content %} |
chrono/manager/templates/chrono/manager_agenda_view.html | ||
---|---|---|
8 | 8 |
{% block appbar %} |
9 | 9 |
<h2>{{ object.label }}</h2> |
10 | 10 |
{% if user_can_manage %} |
11 |
<span class="actions"> |
|
11 | 12 |
<a href="{% url 'chrono-manager-agenda-settings' pk=object.id %}">{% trans 'Settings' %}</a> |
13 |
</span> |
|
12 | 14 |
{% endif %} |
13 | 15 |
{% endblock %} |
14 | 16 |
chrono/manager/templates/chrono/manager_desk_form.html | ||
---|---|---|
18 | 18 |
{% block appbar %} |
19 | 19 |
{% if object.id %} |
20 | 20 |
<h2>{% trans "Edit Desk" %}</h2> |
21 |
<span class="actions"> |
|
21 | 22 |
<a rel="popup" href="{% url 'chrono-manager-desk-delete' pk=object.id %}">{% trans 'Delete' %}</a> |
23 |
</span> |
|
22 | 24 |
{% else %} |
23 | 25 |
<h2>{% trans "New Desk" %}</h2> |
24 | 26 |
{% endif %} |
chrono/manager/templates/chrono/manager_event_form.html | ||
---|---|---|
16 | 16 |
{% block appbar %} |
17 | 17 |
{% if object.id %} |
18 | 18 |
<h2>{% trans "Edit Event" %}</h2> |
19 |
<span class="actions"> |
|
19 | 20 |
<a rel="popup" href="{% url 'chrono-manager-event-delete' pk=object.id %}">{% trans 'Delete' %}</a> |
21 |
</span> |
|
20 | 22 |
{% else %} |
21 | 23 |
<h2>{% trans "New Event" %}</h2> |
22 | 24 |
{% endif %} |
chrono/manager/templates/chrono/manager_home.html | ||
---|---|---|
4 | 4 |
{% block appbar %} |
5 | 5 |
<h2>{% trans 'Agendas' %}</h2> |
6 | 6 |
{% if user.is_staff %} |
7 |
<span class="actions"> |
|
7 | 8 |
<a rel="popup" href="{% url 'chrono-manager-agenda-add' %}">{% trans 'New' %}</a> |
9 |
</span> |
|
8 | 10 |
{% endif %} |
9 | 11 |
{% endblock %} |
10 | 12 |
chrono/manager/templates/chrono/manager_meeting_type_form.html | ||
---|---|---|
16 | 16 |
{% block appbar %} |
17 | 17 |
{% if object.id %} |
18 | 18 |
<h2>{% trans "Edit Meeting Type" %}</h2> |
19 |
<span class="actions"> |
|
19 | 20 |
<a rel="popup" href="{% url 'chrono-manager-meeting-type-delete' pk=object.id %}">{% trans 'Delete' %}</a> |
21 |
</span> |
|
20 | 22 |
{% else %} |
21 | 23 |
<h2>{% trans "New Meeting Type" %}</h2> |
22 | 24 |
{% endif %} |
chrono/manager/templates/chrono/manager_time_period_exception_form.html | ||
---|---|---|
18 | 18 |
{% block appbar %} |
19 | 19 |
{% if object.id %} |
20 | 20 |
<h2>{% trans "Edit time period exception" %}</h2> |
21 |
<span class="actions"> |
|
21 | 22 |
<a rel="popup" href="{% url 'chrono-manager-time-period-exception-delete' pk=object.id %}">{% trans 'Delete' %}</a> |
23 |
</span> |
|
22 | 24 |
{% else %} |
23 | 25 |
<h2>{% trans "New time period exception" %}</h2> |
24 | 26 |
{% endif %} |
chrono/manager/templates/chrono/manager_time_period_form.html | ||
---|---|---|
18 | 18 |
{% block appbar %} |
19 | 19 |
{% if object.id %} |
20 | 20 |
<h2>{% trans "Edit Time Period" %}</h2> |
21 |
<span class="actions"> |
|
21 | 22 |
<a rel="popup" href="{% url 'chrono-manager-time-period-delete' pk=object.id %}">{% trans 'Delete' %}</a> |
23 |
</span> |
|
22 | 24 |
{% else %} |
23 | 25 |
<h2>{% trans "New Time Period" %}</h2> |
24 | 26 |
{% endif %} |
25 |
- |