From 337a6eb974b8beb11f3c37ba5585ef5aa6851b3f Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Mon, 13 Sep 2021 13:29:37 +0200 Subject: [PATCH 1/4] vue_household_members_editor: toggle suggestion button out of conditionnal record_actions --- .../components/Household.vue | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue index ba77e2e18..f9c241dfe 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue @@ -60,23 +60,6 @@ + +
@@ -220,6 +218,7 @@ export default { }, selectHousehold(h) { this.$store.dispatch('selectHousehold', h); + this.toggleHouseholdSuggestion(); }, removeHousehold() { this.$store.dispatch('removeHousehold'); From dc2f094ca269b0779d7f9ed12d22b5d10f909266 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Mon, 13 Sep 2021 14:03:07 +0200 Subject: [PATCH 2/4] vue_household_members_editor: suggestions in bootstrap accordion style --- .../components/Household.vue | 95 +++++++++++-------- .../vuejs/HouseholdMembersEditor/js/i18n.js | 2 +- 2 files changed, 56 insertions(+), 41 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue index f9c241dfe..ec55484db 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/HouseholdMembersEditor/components/Household.vue @@ -82,42 +82,54 @@ -
    -
  • - -
  • -
  • - -
  • -
+
+

+ {{ $t('household_members_editor.household_for_participants_accompanying_period') }} : +

-
-
- -

{{ $t('household_members_editor.suggestions') }}

-

{{ $t('household_members_editor.household_for_participants_accompanying_period') }}:

- -
-
- -
    -
  • - -
  • -
-
+
+
+

+ + + +

+
+
+
+
+ +
    +
  • + +
  • +
+
+
+
+
+
- -
-
+