From fd35f58ccd809e096fa712b983db9379647b0240 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Sun, 23 Aug 2015 08:29:45 -0500 Subject: [PATCH] Display invite party to quest only if party has more than one member --- common/locales/en/quests.json | 3 ++- website/views/options/social/group.jade | 2 +- website/views/shared/modals/quests.jade | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/locales/en/quests.json b/common/locales/en/quests.json index f3cccafa18..80c8a7f561 100644 --- a/common/locales/en/quests.json +++ b/common/locales/en/quests.json @@ -62,7 +62,8 @@ "questWarning": "If new players join the party before the quest starts, they will also receive an invitation. However once the quest has started, no new party members can join the quest.", "bossRageTitle": "Rage", "bossRageDescription": "When this bar fills, the boss will unleash a special attack!", - "startQuest": "START A QUEST", + "startAQuest": "START A QUEST", + "startQuest": "Start Quest", "whichQuestStart": "Which quest do you want to start?", "getMoreQuests": "Get more quests" } diff --git a/website/views/options/social/group.jade b/website/views/options/social/group.jade index 7881279380..40f6026757 100644 --- a/website/views/options/social/group.jade +++ b/website/views/options/social/group.jade @@ -57,7 +57,7 @@ a.pull-right.gem-wallet(ng-if='group.type!="party"', popover-trigger='mouseenter | {{group.leader.profile.name}} .text-center(ng-if='group.type === "party"') - button.btn.btn-success.margin-auto.width-50(ng-click='clickStartQuest();')=env.t('startQuest') + button.btn.btn-success.margin-auto.width-50(ng-click='clickStartQuest();')=env.t('startAQuest') // ------ Members ------- .panel.panel-default diff --git a/website/views/shared/modals/quests.jade b/website/views/shared/modals/quests.jade index 3f8bf674f1..9dce32c5ff 100644 --- a/website/views/shared/modals/quests.jade +++ b/website/views/shared/modals/quests.jade @@ -43,7 +43,8 @@ script(type='text/ng-template', id='modals/showQuest.html') p=env.t('questWarning') .modal-footer button.btn.btn-default(ng-click='closeQuest(); $close()')=env.t('cancel') - button.btn.btn-primary(ng-click='questInit(); $close()')=env.t('inviteParty') + button.btn.btn-primary(ng-click='questInit(); $close()') + | {{:: party.memberCount > 1 ? env.t('inviteParty') : env.t('startQuest')}} script(type='text/ng-template', id='modals/buyQuest.html') .modal-header