diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-02 01:23:43 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-02 01:23:43 +0200 |
| commit | e1ab754e554cc4ce98e7a79897d16cfe5c53c765 (patch) | |
| tree | a5a6533a9fd04ae7a0a22fdfc74b4974a86fa7f5 /ishtar_common/templates/ishtar | |
| parent | 0572dd58583bc7e81c21ad18a52f7fc39baed08f (diff) | |
| download | Ishtar-e1ab754e554cc4ce98e7a79897d16cfe5c53c765.tar.bz2 Ishtar-e1ab754e554cc4ce98e7a79897d16cfe5c53c765.zip | |
Sheet refactoring with images
Diffstat (limited to 'ishtar_common/templates/ishtar')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_detail.html | 2 | ||||
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_detail.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_detail.html index 5968f9afa..6f5d80ba8 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex_detail.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_detail.html @@ -1,5 +1,5 @@ {% load i18n %}{% if item %} -<dl class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row"> +<dl class="col-12 {% if size == 2 %}col-lg-6{% else %}col-md-6 col-lg-4{% endif %} d-flex flex-wrap row"> <dt class="col-5">{% trans caption %}</dt> <dd class="col-7">{{item}}{{link}}</dd> </dl> diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html index 60f6361b7..010200837 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html @@ -1,5 +1,5 @@ {% load i18n %}{% if data.count %} -<dl class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row"> +<dl class="col-12 {% if size == 2 %}col-lg-6{% else %}col-md-6 col-lg-4{% endif %} d-flex flex-wrap row"> <dt class="col-5">{% trans caption %}</dt> <dd class="col-7">{% for d in data.all %} {% if forloop.counter0 %} ; {% endif %}{{ d }} |
