summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar
diff options
context:
space:
mode:
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
commit5f8d692a804be6d4e0689a3c4c8ba71b0ce82f2b (patch)
treea5a6533a9fd04ae7a0a22fdfc74b4974a86fa7f5 /ishtar_common/templates/ishtar
parentf2affd1264e49d67bfc98c38073d7a595bf93b09 (diff)
downloadIshtar-5f8d692a804be6d4e0689a3c4c8ba71b0ce82f2b.tar.bz2
Ishtar-5f8d692a804be6d4e0689a3c4c8ba71b0ce82f2b.zip
Sheet refactoring with images
Diffstat (limited to 'ishtar_common/templates/ishtar')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_flex_detail.html2
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html2
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 }}