mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Accourse: toggle flags bg-danger in banner + misc
This commit is contained in:
parent
d100de4fcd
commit
f2b5cd7636
@ -66,7 +66,7 @@ const messages = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
renderbox: {
|
renderbox: {
|
||||||
person: "Person",
|
person: "Usager",
|
||||||
birthday: {
|
birthday: {
|
||||||
man: "Né le",
|
man: "Né le",
|
||||||
woman: "Née le"
|
woman: "Née le"
|
||||||
|
@ -9,10 +9,10 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="d-block d-sm-inline-block ms-sm-3 ms-md-0">
|
<span class="d-block d-sm-inline-block ms-sm-3 ms-md-0">
|
||||||
<button class="badge rounded-pill me-1" :class="{ 'bg-primary': isEmergency, 'bg-secondary': !isEmergency }" @click="toggleEmergency">
|
<button class="badge rounded-pill me-1" :class="{ 'bg-danger': isEmergency, 'bg-secondary': !isEmergency }" @click="toggleEmergency">
|
||||||
{{ $t('course.emergency') }}
|
{{ $t('course.emergency') }}
|
||||||
</button>
|
</button>
|
||||||
<button class="badge rounded-pill" :class="{ 'bg-primary': isConfidential, 'bg-secondary': !isConfidential }" @click="toggleConfidential">
|
<button class="badge rounded-pill" :class="{ 'bg-danger': isConfidential, 'bg-secondary': !isConfidential }" @click="toggleConfidential">
|
||||||
{{ $t('course.confidential') }}
|
{{ $t('course.confidential') }}
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
'addInfo': true,
|
'addInfo': true,
|
||||||
'addAltNames': false,
|
'addAltNames': false,
|
||||||
'addCenter': true,
|
'addCenter': true,
|
||||||
'address_multiline': true,
|
'address_multiline': false,
|
||||||
'customButtons': { 'after': _self.button_person(person) }
|
'customButtons': { 'after': _self.button_person(person) }
|
||||||
}) }}
|
}) }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user