manager: don't use a popup when editing events

This commit is contained in:
Frédéric Péters 2016-09-04 17:44:17 +02:00
parent 58bcbac552
commit 86ea68a88a
2 changed files with 8 additions and 1 deletions

View File

@ -30,7 +30,7 @@
{% elif event.waiting_list_places %}
data-total="{{event.waiting_list_places}}" data-booked="{{event.waiting_list}}"
{% endif %}
><a rel="popup" href="{% url 'chrono-manager-event-edit' pk=event.id %}">
><a href="{% url 'chrono-manager-event-edit' pk=event.id %}">
{% if event.label %}{{event.label}} / {% endif %}
{{ event.start_datetime }}
{% if event.full %}/ <span class="full">{% trans "full" %}</span>{% endif %}

View File

@ -6,6 +6,13 @@
{{ form.media }}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
{% if object.id %}
<a href="{% url 'chrono-manager-agenda-view' pk=object.agenda.id %}">{{object.agenda.label}}</a>
{% endif %}
{% endblock %}
{% block appbar %}
{% if object.id %}
<h2>{% trans "Edit Event" %}</h2>