diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-24 23:13:11 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-24 23:13:11 +0100 |
| commit | 4c9fdd6fa72cc77214292b5c435074d8bc4005e6 (patch) | |
| tree | c984d00f04cdeb2303d7d36ea813c4e6b79db9db /ishtar_common/templates/ishtar/blocks/window_field.html | |
| parent | a1c527975f9be70e5d3807f072a05a52c35b7c8e (diff) | |
| download | Ishtar-4c9fdd6fa72cc77214292b5c435074d8bc4005e6.tar.bz2 Ishtar-4c9fdd6fa72cc77214292b5c435074d8bc4005e6.zip | |
UI: work on sheets
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_field.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field.html b/ishtar_common/templates/ishtar/blocks/window_field.html index b52ed78ee..097ae3fd2 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field.html +++ b/ishtar_common/templates/ishtar/blocks/window_field.html @@ -1,3 +1,6 @@ -{% load i18n %}{% if data %}{% if li %}<li>{% else %}<p>{% endif %}<label>{% trans caption %}</label> -<span class='value'>{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe}}</span>{% if li %}</li>{% else %}</p>{% endif %} +{% load i18n %}{% if data %}{% if li %}<li>{% elif flex %} + <div class="col-12 col-md-6 col-lg-4 d-flex flex-wrap">{% else %}<p>{% endif %} + <label>{% trans caption %}</label> + <span class='value'>{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe }}</span> + {% if li %}</li>{% elif flex %}</div>{% else %}</p>{% endif %} {% endif %} |
