]> ruin.nu Git - ndwebbie.git/commitdiff
Only show coords box for attackers
authorMichael Andreen <harv@ruin.nu>
Sat, 14 Oct 2017 20:00:09 +0000 (22:00 +0200)
committerMichael Andreen <harv@ruin.nu>
Sat, 14 Oct 2017 20:00:09 +0000 (22:00 +0200)
root/lib/site/leftbar.tt2

index bc6f8324e180663e627cd4767efa6eea290eb9ec..601b89e19326015cb6b855ff0ee383c41d122a99 100644 (file)
@@ -69,7 +69,7 @@
                onclick = "listTargets()">
 </p>
 <div id="targets">[% PROCESS inc/targetlist.tt2 %]</div>
-[% ELSE %]
+[% ELSIF user.attacker %]
        <form action="/members/postowncoords" method="post">
                <p>We need your planet's coordinates:
                <input type="text" name="planet" value="">