Display invite party to quest only if party has more than one member

This commit is contained in:
Blade Barringer
2015-08-23 08:29:45 -05:00
parent 59a2d2b2f0
commit fd35f58ccd
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -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"
}
+1 -1
View File
@@ -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
+2 -1
View File
@@ -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