From ccff3998bdd42829d31290c3916cc7dcf0eed2f4 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Sun, 23 Aug 2015 08:42:15 -0500 Subject: [PATCH] Hide quest button if quest is pending or active --- website/views/options/social/group.jade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/views/options/social/group.jade b/website/views/options/social/group.jade index 76c27cebf9..099ba8216f 100644 --- a/website/views/options/social/group.jade +++ b/website/views/options/social/group.jade @@ -57,7 +57,10 @@ 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('startAQuest') + button.btn.btn-success.margin-auto.width-50( + ng-if='!party.quest.key', + ng-click='clickStartQuest();' + )=env.t('startAQuest') // ------ Members ------- .panel.panel-default