From 77d75c46694fb090b58985a15d6306461d04aeec Mon Sep 17 00:00:00 2001 From: Keith Holliday Date: Sat, 30 Sep 2017 08:28:39 -0500 Subject: [PATCH] Pending quest styles (#9106) * Added pending quest modal * Added quest completed modal * Removed duplicate string --- .../achievements/questCompleted.vue | 20 +- website/client/components/groups/group.vue | 42 +++- .../components/groups/questDetailsModal.vue | 210 ++++++++++++++++++ website/client/components/notifications.vue | 4 + website/common/locales/en/groups.json | 4 +- 5 files changed, 263 insertions(+), 17 deletions(-) create mode 100644 website/client/components/groups/questDetailsModal.vue diff --git a/website/client/components/achievements/questCompleted.vue b/website/client/components/achievements/questCompleted.vue index 6c7c2762ca..8b1d11e5c1 100644 --- a/website/client/components/achievements/questCompleted.vue +++ b/website/client/components/achievements/questCompleted.vue @@ -1,14 +1,20 @@ + + diff --git a/website/client/components/notifications.vue b/website/client/components/notifications.vue index 608aee349b..0aa2733a3b 100644 --- a/website/client/components/notifications.vue +++ b/website/client/components/notifications.vue @@ -303,6 +303,10 @@ export default { this.$root.$emit('show::modal', 'avatar-modal'); } + if (this.questCompleted) { + this.$root.$emit('show::modal', 'quest-completed'); + } + // @TODO: This is a timeout to ensure dom is loaded window.setTimeout(() => { this.initTour(); diff --git a/website/common/locales/en/groups.json b/website/common/locales/en/groups.json index 949f10c1ca..db4e4e70c2 100644 --- a/website/common/locales/en/groups.json +++ b/website/common/locales/en/groups.json @@ -388,5 +388,7 @@ "selectPartyMember": "Select a Party Member", "areYouSureDeleteMessage": "Are you sure you want to delete this message?", "reverseChat": "Reverse Chat", - "invites": "Invites" + "invites": "Invites", + "details": "Details", + "participantDesc": "Once all members have either accepted or declined, the Quest begins. Only those that clicked 'accept' will be able to participate in the Quest and receive the drops." }