From 22ca76cf4011c1cee9248bdf9937f20cff7b0378 Mon Sep 17 00:00:00 2001 From: hairlessbear Date: Sun, 14 Jun 2015 19:46:43 -0400 Subject: [PATCH] Added quest accept/reject to pending quest display --- website/views/options/social/quests/questNotActive.jade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/views/options/social/quests/questNotActive.jade b/website/views/options/social/quests/questNotActive.jade index 312fb2b20f..197e9c4cbd 100644 --- a/website/views/options/social/quests/questNotActive.jade +++ b/website/views/options/social/quests/questNotActive.jade @@ -1,4 +1,9 @@ div(ng-if='group.quest.active==false') + span(ng-if='user.party.quest.RSVPNeeded') + // Buttons manually set RSVPNeeded to avoid synchronization errors + button.btn.btn-success(ng-click='party.$questAccept(); set({"party.quest.RSVPNeeded":false})')=env.t('accept') + button.btn.btn-danger(ng-click='party.$questReject(); set({"party.quest.RSVPNeeded":false})')=env.t('reject') + hr tabset tab(heading=env.t('invitations')) +participants(false)