mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
badges added in list view for parcours that are urgent and/or confidential
This commit is contained in:
parent
6c71cb0e80
commit
9e48a1db0a
@ -184,5 +184,12 @@ div[class*='activity-'] {
|
||||
background-color: $chill-ll-gray;
|
||||
color: $chill-blue;
|
||||
}
|
||||
&.bg-urgent {
|
||||
background-color: $chill-orange;
|
||||
}
|
||||
&.bg-confidential {
|
||||
background-color: $chill-ll-gray;
|
||||
color: $chill-red;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,14 @@
|
||||
{% set app = person.findParticipationForPeriod(acp) %}
|
||||
<div class="wl-row separator">
|
||||
<div class="wl-col title">
|
||||
|
||||
<div>
|
||||
{% if acp.emergency %}
|
||||
<span class="badge bg-urgent">urgent</span>
|
||||
{% endif %}
|
||||
{% if acp.confidential %}
|
||||
<span class="badge bg-confidential">confidentiel</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if acp.step == 'DRAFT' %}
|
||||
<div class="is-draft">
|
||||
<span class="course-draft badge bg-secondary" title="{{ 'course.draft'|trans }}">{{ 'course.draft'|trans }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user