mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
add options on button for AddPersons component: size, type and display
* size: add bootstrap class : btn-sm, btn-lg.. * type: override chill button class : btn-update, btn-chill-beige * display: override default : true
This commit is contained in:
@@ -140,9 +140,7 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<button class="btn btn-delete" @click="removeHandlingThirdParty">
|
||||
{{ $t('remove_handling_thirdparty') }}
|
||||
</button>
|
||||
<button class="btn btn-remove" @click="removeHandlingThirdParty" :title="$t('remove_handling_thirdparty')"></button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -163,7 +161,7 @@
|
||||
<show-address :address="t.address"></show-address>
|
||||
|
||||
<ul class="record_actions">
|
||||
<button class="btn btn-delete" @click="removeThirdParty(t)"></button>
|
||||
<button class="btn btn-remove" @click="removeThirdParty(t)" :title="$t('remove_thirdparty')"></button>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -302,11 +300,12 @@
|
||||
}
|
||||
|
||||
div.objective-title {
|
||||
font-weight: bold;
|
||||
/*
|
||||
margin-top: 1rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
|
||||
*/
|
||||
|
||||
i.fa {
|
||||
padding: 0.25rem;
|
||||
@@ -399,7 +398,8 @@ const i18n = {
|
||||
no_handling_thirdparty: "Aucun tiers traitant",
|
||||
precise_handling_thirdparty: "Indiquer un tiers traitant",
|
||||
choose_a_thirdparty: "Choisir un tiers",
|
||||
remove_handling_thirdparty: "Supprimer le tiers traitant",
|
||||
remove_thirdparty: "Enlever le tiers",
|
||||
remove_handling_thirdparty: "Enlever le tiers traitant",
|
||||
thirdparty_intervener: "Tiers intervenants",
|
||||
no_thirdparty_intervener: "Aucun tiers intervenant",
|
||||
add_thirdparties: "Ajouter des tiers",
|
||||
@@ -430,7 +430,10 @@ export default {
|
||||
options: {
|
||||
type: [ 'thirdparty' ],
|
||||
priority: null,
|
||||
uniq: true
|
||||
uniq: true,
|
||||
button: {
|
||||
display: false
|
||||
}
|
||||
},
|
||||
},
|
||||
thirdPartyPicker: {
|
||||
@@ -439,6 +442,9 @@ export default {
|
||||
type: [ 'thirdparty' ],
|
||||
priority: null,
|
||||
uniq: false,
|
||||
button: {
|
||||
display: false
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user