From: Michael Andreen Date: Sat, 6 Sep 2008 12:52:33 +0000 (+0200) Subject: Show close option if the raid is open, but the bc doesn't have access to it X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=989e9b7e132134ed46a134c779787935136450a9 Show close option if the raid is open, but the bc doesn't have access to it --- 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 %]