mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Using translations instead of hardcoded
This commit is contained in:
parent
8d3ba314e0
commit
bb0a04b19a
@ -184,10 +184,6 @@ div[class*='activity-'] {
|
|||||||
background-color: $chill-ll-gray;
|
background-color: $chill-ll-gray;
|
||||||
color: $chill-blue;
|
color: $chill-blue;
|
||||||
}
|
}
|
||||||
&.bg-urgent {
|
|
||||||
background-color: $chill-red;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
&.bg-confidential {
|
&.bg-confidential {
|
||||||
background-color: $chill-ll-gray;
|
background-color: $chill-ll-gray;
|
||||||
color: $chill-red;
|
color: $chill-red;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<span class="badge rounded-pill bg-danger">{{- 'Emergency'|trans|upper -}}</span>
|
<span class="badge rounded-pill bg-danger">{{- 'Emergency'|trans|upper -}}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if period.confidential %}
|
{% if period.confidential %}
|
||||||
<span class="badge rounded-pill bg-danger">{{- 'Confidential'|trans|upper -}}</span>
|
<span class="badge rounded-pill bg-confidential">{{- 'Confidential'|trans|upper -}}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="wh-col">
|
<div class="wh-col">
|
||||||
|
@ -82,10 +82,10 @@
|
|||||||
<div class="wl-col title">
|
<div class="wl-col title">
|
||||||
<div>
|
<div>
|
||||||
{% if acp.emergency %}
|
{% if acp.emergency %}
|
||||||
<span class="badge rounded-pill bg-urgent">urgent</span>
|
<span class="badge rounded-pill bg-danger">{{- 'Emergency'|trans|upper -}}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if acp.confidential %}
|
{% if acp.confidential %}
|
||||||
<span class="badge rounded-pill bg-confidential">confidentiel</span>
|
<span class="badge rounded-pill bg-confidential">{{- 'Confidential'|trans|upper -}}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if acp.step == 'DRAFT' %}
|
{% if acp.step == 'DRAFT' %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user