reorganise flex-table assets, improve search results, and accompanyingPeriods list

This commit is contained in:
2021-08-20 16:19:15 +02:00
parent 38dcca7397
commit d2b0b9d7da
16 changed files with 194 additions and 87 deletions

View File

@@ -4,7 +4,7 @@
<div class="item-bloc">
<div class="item-row">
<div class="wrapheader">
<div class="wrap-header">
<div class="wh-row">
<div class="wh-col">
<span class="h3">
@@ -22,7 +22,7 @@
{% if accompanying_period.step == 'DRAFT' %}
<span class="badge bg-secondary">{{- 'Draft'|trans|upper -}}</span>
{% else %}
<span class="badge bg-success">{{- 'Confirmed'|trans|upper -}}</span>
<span class="badge bg-primary">{{- 'Confirmed'|trans|upper -}}</span>
{% endif %}
</div>
</div>
@@ -46,7 +46,8 @@
<div class="wh-col">
{% if chill_accompanying_periods.fields.user == 'visible' %}
{% if accompanying_period.user %}
{{ accompanying_period.user.username }}
<abbr class="referrer" title="{{ 'Referrer'|trans }}">ref:</abbr>
{{ accompanying_period.user.username|chill_entity_render_box }}
{% else %}
<span class="chill-no-data-statement">{{ 'No accompanying user'|trans }}</span>
{% endif %}
@@ -58,7 +59,7 @@
</div>
<div class="item-row separator">
<div class="wraplist">
<div class="wrap-list">
{% if accompanying_period.participations.count > 0 %}
<div class="wl-row">
<div class="wl-col title"><h3>{{ 'Participants'|trans }}</h3></div>