diff --git a/website/client/src/components/group-plans/groupPlanCreationModal.vue b/website/client/src/components/group-plans/groupPlanCreationModal.vue index 6be98bffe8..1044693d81 100644 --- a/website/client/src/components/group-plans/groupPlanCreationModal.vue +++ b/website/client/src/components/group-plans/groupPlanCreationModal.vue @@ -13,13 +13,20 @@ >

{{ $t('createGroup') }}

@@ -78,7 +85,7 @@ - + @import '~@/assets/scss/colors.scss'; + .payment-options { margin-bottom: 4em; @@ -168,7 +177,6 @@ .modal-dialog { max-width: 448px; } - .modal-content { width: 448px; border-radius: 8px; @@ -177,24 +185,19 @@ .modal-body{ padding: 0px; } - .modal-close { position: absolute; right: 16px; top: 16px; cursor: pointer; - .icon-close { - width: 18px; - height: 18px; - vertical-align: middle; - - & ::v-deep svg path { - fill: #878190; - } - & :hover { - fill: #686274; - } + .cancel-text { + color: #2995cd; + font-size: 0.875rem; + min-height: 24px; + margin: 16px 0 0; + text-align: center; + cursor: pointer; } } } @@ -204,17 +207,46 @@ import paymentsMixin from '../../mixins/payments'; import { mapState } from '@/libs/store'; import paymentsButtons from '@/components/payments/buttons/list'; -import selectGroupTranslatedArray from '@/components/group-plans/selectGroupTranslatedArray'; +import selectTranslatedArray from '@/components/tasks/modal-controls/selectTranslatedArray'; import lockableLabel from '@/components/tasks/modal-controls/lockableLabel'; -import closeIcon from '@/assets/svg/close.svg'; export default { components: { paymentsButtons, - selectGroupTranslatedArray, + selectTranslatedArray, lockableLabel, }, mixins: [paymentsMixin], + props: { + groupUseDefault: { + type: String, + default: 'groupUseDefault', + }, + groupParentChildren: { + type: String, + default: 'groupParentChildren', + }, + groupCouple: { + type: String, + default: 'groupCouple', + }, + groupFriends: { + type: String, + default: 'groupFriends', + }, + groupCoworkers: { + type: String, + default: 'groupCoworkers', + }, + groupManager: { + type: String, + default: 'groupManager', + }, + groupTeacher: { + type: String, + default: 'groupTeacher', + }, + }, data () { return { amazonPayments: {}, @@ -239,7 +271,6 @@ export default { activePage: 'create-group', type: 'guild', // Guild or Party @TODO enum this icons: Object.freeze({ - closeIcon, }), }; }, diff --git a/website/client/src/components/group-plans/selectGroupTranslatedArray.vue b/website/client/src/components/group-plans/selectGroupTranslatedArray.vue deleted file mode 100644 index 0b201f3d11..0000000000 --- a/website/client/src/components/group-plans/selectGroupTranslatedArray.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - diff --git a/website/common/locales/en/groups.json b/website/common/locales/en/groups.json index 034b5fae2a..dcc92184f6 100644 --- a/website/common/locales/en/groups.json +++ b/website/common/locales/en/groups.json @@ -351,6 +351,8 @@ "groupManager": "Manager setting up tasks for employees", "groupTeacher": "Teacher setting up tasks for students", "gettingStarted": "Getting Started", + "next": "Next", + "cancel": "Cancel", "congratsOnGroupPlan": "Congratulations on creating your new Group! Here are a few answers to some of the more commonly asked questions.", "whatsIncludedGroup": "What's included in the subscription", "whatsIncludedGroupDesc": "All members of the Group receive full subscription benefits, including the monthly subscriber items, the ability to buy Gems with Gold, and the Royal Purple Jackalope mount, which is exclusive to users with a Group Plan membership.",