mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-17 22:36:14 +00:00
Merge branch 'master' into interface_propositions
This commit is contained in:
commit
1b2aeaea2f
@ -37,14 +37,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="this.context.target.name === 'household' || this.context.edit">
|
<div v-if="this.context.edit" class="mb-3 row">
|
||||||
|
<div class="col-sm-4"></div>
|
||||||
|
<div class="address-container col-sm-8">
|
||||||
|
<address-render-box :address="address" :isMultiline="false" :useDatePane="useDatePane"></address-render-box>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div v-if="this.context.target.name === 'household' || this.context.edit">
|
||||||
<action-buttons
|
<action-buttons
|
||||||
:options="this.options"
|
:options="this.options"
|
||||||
:defaultz="this.defaultz"
|
:defaultz="this.defaultz">
|
||||||
class="add-address-btn">
|
|
||||||
<template v-slot:action>
|
<template v-slot:action>
|
||||||
<button @click.prevent="$emit('openEditPane')"
|
<button @click.prevent="$emit('openEditPane')"
|
||||||
class="btn" :class="getClassButton"
|
class="btn btn-sm" :class="getClassButton"
|
||||||
type="button" name="button" :title="$t(getTextButton)">
|
type="button" name="button" :title="$t(getTextButton)">
|
||||||
<span v-if="displayTextButton">{{ $t(getTextButton) }}</span>
|
<span v-if="displayTextButton">{{ $t(getTextButton) }}</span>
|
||||||
</button>
|
</button>
|
||||||
@ -52,7 +58,10 @@
|
|||||||
</action-buttons>
|
</action-buttons>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<address-render-box :address="address" :useDatePane="useDatePane"></address-render-box>
|
<div v-if="!this.context.edit">
|
||||||
|
<address-render-box :address="address" :isMultiline="false" :useDatePane="useDatePane"></address-render-box>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="onlyButton">
|
<div v-if="onlyButton">
|
||||||
@ -140,11 +149,16 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.address-container {
|
||||||
|
display:flex;
|
||||||
|
justify-content:flex-end;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
.no-address-yet {
|
.no-address-yet {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
|
||||||
padding:1.5rem;
|
padding:1.5rem;
|
||||||
|
margin-bottom:2rem;
|
||||||
i {
|
i {
|
||||||
font-size:2rem;
|
font-size:2rem;
|
||||||
margin-bottom:2rem;
|
margin-bottom:2rem;
|
||||||
@ -152,5 +166,6 @@ export default {
|
|||||||
.add-address-btn {
|
.add-address-btn {
|
||||||
display: block
|
display: block
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user