]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/intel/index.tt2
Replaced intelquery function with a view
[ndwebbie.git] / root / src / intel / index.tt2
index cb96bf9d6f8f4c6686e9773cd0daa8eefedd77c8..73a7eba842517519764dab751ffa02d37516059b 100644 (file)
@@ -2,11 +2,12 @@
 
 [% IF coordslist %]
 <table class="stats">
-       <tr><th>Coords</th><th>Alliance</th></tr>
+       <tr><th>Coords</th><th>Alliance</th><th>Nick</th></tr>
        [% FOR p IN coordslist %]
        <tr>
                <td><a href="[% c.uri_for('planet',p.id) %]">[% p.coords %]</a></td>
                <td>[% p.alliance %]</td>
+               <td>[% p.nick %]</td>
        </tr>
        [% END %]
 </table>
@@ -26,8 +27,8 @@
        </tr>
 [% FOR i IN intel %]
        <tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
-       <td>[% i.oalliance %]</td>
-       <td><a href="[% c.uri_for('planet',i.sender) %]">[% i.ocoords %]</a></td>
+       <td>[% i.salliance %]</td>
+       <td><a href="[% c.uri_for('planet',i.sender) %]">[% i.scoords %]</a></td>
        <td class="[% i.mission %]">[% i.mission %]</td>
        <td align="center">[% i.landingtick %]</td>
        <td align="center">[% i.eta %]</td>