]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/raids/index.tt2
Remove old change_members trigger
[ndwebbie.git] / root / src / raids / index.tt2
index 485ebdeec850783a60c9f0c04518e136db3c254e..fcc5d1ce9528792af7e6058cbdf2be429cc1c8bb 100644 (file)
        <p>
                [% IF c.check_user_roles('raids_edit') %]
                <a href="[% c.uri_for('edit',r.id) %]">Edit Raid [% r.id %]</a>
+                       [% IF r.open %]
+               <a href="[% c.uri_for('close',r.id) %]">Close raid.</a>
+                       [% ELSE %]
                <a href="[% c.uri_for('open',r.id) %]">Open raid.</a>
+                       [% END %]
                        [% UNLESS r.releasedcoords %]
                <a href="[% c.uri_for('showcoords',r.id) %]">Show coords.</a>
                        [% END %]
                [% END %]
                Landing tick: [% r.tick %]
                Waves: [% r.waves %]
+               [% IF r.open_tick %]
+               Opening tick: [% r.open_tick %]
+               [% END %]
                Claims: [% r.claims %]
                Launched: [% r.launched %]
        </p>