From a6f9ff098e406c0b98c106b7fbb20c10f0823120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Mon, 28 Nov 2016 16:45:43 +0100 Subject: [PATCH] editor: move add button and repeat back button every 10 rows --- src/c3nav/editor/templates/editor/mapitems.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/c3nav/editor/templates/editor/mapitems.html b/src/c3nav/editor/templates/editor/mapitems.html index f5c33ff1..1ffe4e20 100644 --- a/src/c3nav/editor/templates/editor/mapitems.html +++ b/src/c3nav/editor/templates/editor/mapitems.html @@ -1,12 +1,17 @@ {% load bootstrap3 %} +Add new

{{ title }}{% if has_level %} on level {{ level }}{% endif %}

-

« Back

-

Add new

{% for item in items %} + {% if forloop.counter0|divisibleby:10 %} + + + + + {% endif %}
« Back
{{ item.name }} Edit