]> ruin.nu Git - ndwebbie.git/blobdiff - root/lib/inc/targetlist.tt2
Add a title attribute showing the target id
[ndwebbie.git] / root / lib / inc / targetlist.tt2
index 43431ce9f812f0b966da3458b243e8b179727198..3c12e6130d18f52ae9b52412d8d4e5894a0cf313 100644 (file)
@@ -3,17 +3,17 @@
        <tr><th>Target</th><th>Tick</th></tr>
        [% FOR target IN claimedtargets %]
        <tr>
-               <td>[% IF target.released_coords %]<a href="[% c.uri_for('/stats/find',target.coords)%]">
-                               [% target.coords%][% IF target.launched%]*[% END %]</a>
+               <td>[% IF target.released_coords %]<a href="[% c.uri_for('/stats/find',target.coords)%]"
+                       title="Target [%target.id%]"> [% target.coords%][% IF target.launched%]*[% END %]</a>
                        [%ELSE%]Target [%target.id%][% END %]</td>
                <td><a href="[% c.uri_for('/raids/view',target.raid)%]#target[% target.id %]">
                        [% target.landingtick %]</a></td>
                <td>
                        <input title="Unclaim target" type="button" value="U" class="small" onclick =
-                       "$.get('/jsrpc/unclaim/[% target.raid %]//[% target.id %]/[% target.wave %]',{},parseUpdate)">
+                       "$.get('/jsrpc/unclaim/[% target.raid %]/0/[% target.id %]/[% target.wave %]',{},parseUpdate)">
                        <input title="[% IF target.joinable %]Disable joinable[% ELSE %]Make target joinable[% END %]"
                                type="button" class="small" value="[% IF target.joinable %]N[% ELSE %]J[% END %]" onclick = 
-                       "$.get('/jsrpc/joinable/[% target.raid %]//[% target.id %]/[% target.wave %]/[% target.joinable %]',{},parseUpdate)">
+                       "$.get('/jsrpc/joinable/[% target.raid %]/0/[% target.id %]/[% target.wave %]/[% target.joinable %]',{},parseUpdate)">
                </td>
        </tr>
        [% END %]