show “in space $foo” if space is set on this geometry type
This commit is contained in:
parent
be52938874
commit
dc3a65535d
1 changed files with 4 additions and 5 deletions
|
@ -5,15 +5,14 @@
|
|||
|
||||
<h3>
|
||||
{{ model_title_plural }}
|
||||
{% if level %}
|
||||
{% with level.title as level_title %}
|
||||
<small>{% blocktrans %}on level {{ level_title }}{% endblocktrans %}</small>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
{% if space %}
|
||||
{% with space.title as space_title %}
|
||||
<small>{% blocktrans %}in space {{ space_title }}{% endblocktrans %}</small>
|
||||
{% endwith %}
|
||||
{% elif level %}
|
||||
{% with level.title as level_title %}
|
||||
<small>{% blocktrans %}on level {{ level_title }}{% endblocktrans %}</small>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</h3>
|
||||
{% bootstrap_messages %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue