From dc3a65535d58f9c08e1313b708d27dc4de34046f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Thu, 16 Nov 2017 00:23:09 +0100 Subject: [PATCH] =?UTF-8?q?show=20=E2=80=9Cin=20space=20$foo=E2=80=9D=20if?= =?UTF-8?q?=20space=20is=20set=20on=20this=20geometry=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/c3nav/editor/templates/editor/list.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/c3nav/editor/templates/editor/list.html b/src/c3nav/editor/templates/editor/list.html index ebbcab44..98ab7f56 100644 --- a/src/c3nav/editor/templates/editor/list.html +++ b/src/c3nav/editor/templates/editor/list.html @@ -5,15 +5,14 @@

{{ model_title_plural }} - {% if level %} - {% with level.title as level_title %} - {% blocktrans %}on level {{ level_title }}{% endblocktrans %} - {% endwith %} - {% endif %} {% if space %} {% with space.title as space_title %} {% blocktrans %}in space {{ space_title }}{% endblocktrans %} {% endwith %} + {% elif level %} + {% with level.title as level_title %} + {% blocktrans %}on level {{ level_title }}{% endblocktrans %} + {% endwith %} {% endif %}

{% bootstrap_messages %}