mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 17:44:58 +00:00
list activity flex-table design
This commit is contained in:
@@ -46,14 +46,27 @@
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
<div class="flex-bloc concerned-groups {{ context }}">
|
||||
{% set level1 = (with_display == 'bloc') ? context ~ ' flex-bloc ' : '' %}
|
||||
{% set level2 = (with_display == 'bloc') ? 'item-bloc ' : '' %}
|
||||
{% set level3 = (with_display == 'bloc') ? 'item-row ' : '' %}
|
||||
{% set level4 = (with_display == 'bloc') ? 'item-col ' : '' %}
|
||||
|
||||
<div class="{{ level1 }}concerned-groups">
|
||||
|
||||
{% for bloc in blocs %}
|
||||
<div class="item-bloc">
|
||||
<div class="item-row">
|
||||
<div class="item-col">
|
||||
<h4>{{ bloc.title }}</h4>
|
||||
<div class="{{ level2 }}">
|
||||
<div class="{{ level3 }}">
|
||||
<div class="{{ level4 }}">
|
||||
|
||||
{% if with_display == 'bloc' or bloc.items|length > 0 %}
|
||||
<h4>{{ bloc.title }}</h4>
|
||||
{% endif %}
|
||||
|
||||
{% if with_display == 'bloc' %}
|
||||
</div>
|
||||
<div class="item-col">
|
||||
<div class="{{ level4 }}">
|
||||
{% endif %}
|
||||
|
||||
<ul class="list-content">
|
||||
{% for item in bloc.items %}
|
||||
<li>
|
||||
@@ -69,4 +82,5 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user