#158: Move 'change tree' notification to correct position (above page title).

This commit is contained in:
Emanuel Schuetze 2012-04-27 21:53:50 +02:00
parent 20ce7579ce
commit 59c342ba8d

View File

@ -39,6 +39,16 @@
{% block content %} {% block content %}
<form action="/agenda/" method="post">{% csrf_token %}
{% if perms.agenda.can_manage_agenda %}
<div id="changed-order-message" style="display:none" class="notification warning">
<em>{% trans "Do you want to save the changed order of agenda items?" %}<br>
<input type="submit" value="{% trans 'Yes' %}">
<input type="button" onclick="window.location.href='{% url item_overview %}';" value="{%trans 'No' %}">
</em>
</div>
{% endif %}
<h1>{% trans "Agenda" %}</h1> <h1>{% trans "Agenda" %}</h1>
<p> <p>
@ -46,17 +56,7 @@
<input type="checkbox" id="hide_closed_items"> {%trans "Hide closed items" %} <input type="checkbox" id="hide_closed_items"> {%trans "Hide closed items" %}
</p> </p>
{{ items|length }} {{ items|length }}
{% blocktrans count counter=items|length %}item{% plural %}items{% endblocktrans %} {% blocktrans count counter=items|length %}item{% plural %}items{% endblocktrans %}<span id="hiddencount"></span>
<span id="hiddencount"></span>
<form action="/agenda/" method="post">{% csrf_token %}
{% if perms.agenda.can_manage_agenda %}
<div id="changed-order-message" style="display:none" class="notification warning">
<em>{% trans "Do you want to save the changed order of agenda items?" %}<br>
<input type="submit" value="{% trans 'Yes' %}">
<input type="button" onclick="window.location.href='{% url item_overview %}';" value="{%trans 'No' %}">
</em>
</div>
{% endif %}
<table id="menu-overview" class="agendatable"> <table id="menu-overview" class="agendatable">
<tr> <tr>
<th style="width: 1px;">{% trans "Done" %}</th> <th style="width: 1px;">{% trans "Done" %}</th>
@ -89,5 +89,5 @@
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
</form> </form>
{% endblock %} {% endblock %}