mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
allow to distinguish stle for list-with-periods and list household
members in css
This commit is contained in:
parent
4dc82bc207
commit
ed891b224f
@ -1,5 +1,7 @@
|
|||||||
/// complete and overwrite flex-table in chillmain.scss
|
/// complete and overwrite flex-table in chillmain.scss
|
||||||
div.list-with-period {
|
div.list-with-period,
|
||||||
|
div.list-household-members,
|
||||||
|
div.list-household-members--summary {
|
||||||
div.person {
|
div.person {
|
||||||
ul.record_actions {
|
ul.record_actions {
|
||||||
li {
|
li {
|
||||||
@ -7,6 +9,9 @@ div.list-with-period {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
div.comment {
|
||||||
|
// for the comment for household-members
|
||||||
|
}
|
||||||
div.periods {
|
div.periods {
|
||||||
div.header,
|
div.header,
|
||||||
div.list-content {
|
div.list-content {
|
||||||
@ -39,12 +44,14 @@ div.list-with-period {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chill-entity__person {
|
||||||
|
.chill-entity__person__first-name,
|
||||||
|
.chill-entity__person__last-name {
|
||||||
|
font-size: 1.3em;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.chill-entity__person {
|
|
||||||
.chill-entity__person__first-name,
|
|
||||||
.chill-entity__person__last-name {
|
|
||||||
font-size: 1.3em;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="subheader">
|
<div class="subheader banner-household">
|
||||||
<div class="grid-12 parent" id="header-accompanying_course-name" >
|
<div class="grid-12 parent" id="header-accompanying_course-name" >
|
||||||
<div class="grid-10 push-1 grid-mobile-12 grid-tablet-12 push-mobile-0 push-tablet-0 parent">
|
<div class="grid-10 push-1 grid-mobile-12 grid-tablet-12 push-mobile-0 push-tablet-0 parent">
|
||||||
|
|
||||||
@ -18,9 +18,23 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="grid-12 parent" id="header-accompanying_course-details" >
|
<div class="grid-12 parent" id="header-accompanying_course-details" >
|
||||||
<div class="grid-10 push-1 grid-mobile-12 grid-tablet-12 push-mobile-0 push-tablet-0 parent">
|
<div class="grid-10 push-1 grid-mobile-12 grid-tablet-12 push-mobile-0 push-tablet-0 parent">
|
||||||
|
<div id="banner-misc">
|
||||||
<div id="banner-misc"></div>
|
{%- set persons = household.getCurrentPersons() -%}
|
||||||
|
{%- if persons|length > 0 -%}
|
||||||
|
<span class="current-members-explain">
|
||||||
|
{{- 'household.Current household members'|trans }}:
|
||||||
|
</span>
|
||||||
|
{%- for p in persons|slice(0, 5) -%}
|
||||||
|
{{- p|chill_entity_render_box({'addLink': false}) -}}
|
||||||
|
{%- if false == loop.last -%}, {% endif -%}
|
||||||
|
{%- endfor -%}
|
||||||
|
{% if persons|length > 5 %}
|
||||||
|
<span class="current-members-more">
|
||||||
|
{{ 'household.and x other persons'|trans({'x': persons|length-5}) }}
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
{%- endif -%}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user