mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
condition added in show template for scope
This commit is contained in:
parent
3c04ced1a3
commit
d2a567c79e
@ -33,8 +33,10 @@
|
|||||||
<dt>{{ 'Title'|trans }}</dt>
|
<dt>{{ 'Title'|trans }}</dt>
|
||||||
<dd>{{ document.title }}</dd>
|
<dd>{{ document.title }}</dd>
|
||||||
|
|
||||||
|
{% if document.scope is not null %}
|
||||||
<dt>{{ 'Scope' | trans }}</dt>
|
<dt>{{ 'Scope' | trans }}</dt>
|
||||||
<dd>{{ document.scope.name | localize_translatable_string }}</dd>
|
<dd>{{ document.scope.name | localize_translatable_string }}</dd>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<dt>{{ 'Category'|trans }}</dt>
|
<dt>{{ 'Category'|trans }}</dt>
|
||||||
<dd>{{ document.category.name|localize_translatable_string }}</dd>
|
<dd>{{ document.category.name|localize_translatable_string }}</dd>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user