From 989e9b7e132134ed46a134c779787935136450a9 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sat, 6 Sep 2008 14:52:33 +0200 Subject: [PATCH] Show close option if the raid is open, but the bc doesn't have access to it --- root/src/raids/index.tt2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root/src/raids/index.tt2 b/root/src/raids/index.tt2 index 485ebde..7fbfba8 100644 --- a/root/src/raids/index.tt2 +++ b/root/src/raids/index.tt2 @@ -27,7 +27,11 @@

[% IF c.check_user_roles('raids_edit') %] Edit Raid [% r.id %] + [% IF r.open %] + Close raid. + [% ELSE %] Open raid. + [% END %] [% UNLESS r.releasedcoords %] Show coords. [% END %] -- 2.39.2