mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
household render box flex table
This commit is contained in:
parent
2cffd61b86
commit
c0d2454473
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<person-render-box :render="bloc"
|
<person-render-box render="bloc"
|
||||||
:options="{
|
:options="{
|
||||||
addInfo : true,
|
addInfo : true,
|
||||||
addId : false,
|
addId : false,
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</third-party-render-box>
|
</third-party-render-box>
|
||||||
|
|
||||||
<person-render-box :render="bloc" v-else-if="accompanyingCourse.requestor.type == 'person'"
|
<person-render-box render="bloc" v-else-if="accompanyingCourse.requestor.type == 'person'"
|
||||||
:person="accompanyingCourse.requestor"
|
:person="accompanyingCourse.requestor"
|
||||||
:options="{
|
:options="{
|
||||||
addLink: false,
|
addLink: false,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<person-render-box :render="bloc"
|
<person-render-box render="bloc"
|
||||||
v-if="resource.resource.type === 'person'"
|
v-if="resource.resource.type === 'person'"
|
||||||
:person="resource.resource"
|
:person="resource.resource"
|
||||||
:options="{ addInfo : true, addId : false, addEntity: true, addLink: false, addAltNames: true, addAge : false, hLevel : 3 }"
|
:options="{ addInfo : true, addId : false, addEntity: true, addLink: false, addAltNames: true, addAge : false, hLevel : 3 }"
|
||||||
|
@ -2,8 +2,12 @@
|
|||||||
<h2>{{ $t('household_members_editor.household_part') }}</h2>
|
<h2>{{ $t('household_members_editor.household_part') }}</h2>
|
||||||
|
|
||||||
<div v-if="hasHousehold">
|
<div v-if="hasHousehold">
|
||||||
<div>
|
<div class="flex-table">
|
||||||
<household-render-box :household="household"></household-render-box>
|
<div class="item-bloc">
|
||||||
|
|
||||||
|
<household-render-box :household="household" isMultiline="true">
|
||||||
|
</household-render-box>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="isHouseholdNew && !hasHouseholdAddress">
|
<div v-if="isHouseholdNew && !hasHouseholdAddress">
|
||||||
|
|
||||||
@ -95,9 +99,12 @@
|
|||||||
|
|
||||||
<div class="householdSuggestions">
|
<div class="householdSuggestions">
|
||||||
<div v-if="showHouseholdSuggestion && hasHouseholdSuggestion">
|
<div v-if="showHouseholdSuggestion && hasHouseholdSuggestion">
|
||||||
|
|
||||||
|
<h2 >Suggestions</h2>
|
||||||
<p>{{ $t('household_members_editor.household_for_participants_accompanying_period') }}:</p>
|
<p>{{ $t('household_members_editor.household_for_participants_accompanying_period') }}:</p>
|
||||||
<div class="flex-table householdSuggestionList">
|
<div class="flex-table householdSuggestionList">
|
||||||
<div v-for="h in filterHouseholdSuggestionByAccompanyingPeriod"
|
|
||||||
|
<div v-for="h in filterHouseholdSuggestionByAccompanyingPeriod"
|
||||||
class="item-bloc">
|
class="item-bloc">
|
||||||
|
|
||||||
<household-render-box :household="h"></household-render-box>
|
<household-render-box :household="h"></household-render-box>
|
||||||
@ -109,7 +116,8 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div >
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -237,6 +245,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
|
div#household_members_editor div,
|
||||||
div.householdSuggestionList {
|
div.householdSuggestionList {
|
||||||
&.flex-table div.item-bloc div.item-row div.item-col {
|
&.flex-table div.item-bloc div.item-row div.item-col {
|
||||||
&:first-child {
|
&:first-child {
|
||||||
|
@ -52,11 +52,9 @@ import PersonRenderBox from 'ChillPersonAssets/vuejs/_components/Entity/PersonRe
|
|||||||
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
import ShowAddress from 'ChillMainAssets/vuejs/_components/Entity/AddressRenderBox.vue';
|
||||||
|
|
||||||
const i18n = {
|
const i18n = {
|
||||||
"messages":
|
"messages": {
|
||||||
{
|
"fr": {
|
||||||
"fr":
|
"household_number": "Ménage n°{number}",
|
||||||
{
|
|
||||||
"household_number": "Ménage #{number}",
|
|
||||||
"current_members": "Membres actuels",
|
"current_members": "Membres actuels",
|
||||||
"no_current_address": "Sans adresse actuellement",
|
"no_current_address": "Sans adresse actuellement",
|
||||||
"new_household": "Nouveau ménage",
|
"new_household": "Nouveau ménage",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="action === 'show'">
|
<div v-if="action === 'show'">
|
||||||
<div class="flex-table">
|
<div class="flex-table">
|
||||||
<person-render-box :render="bloc"
|
<person-render-box render="bloc"
|
||||||
:person="person"
|
:person="person"
|
||||||
:options="{
|
:options="{
|
||||||
addInfo: true,
|
addInfo: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user