/[transports]/trunk/web/templates/transports
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/web/templates/transports

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (show annotations)
Sat May 27 15:18:00 2006 UTC (17 years, 11 months ago) by dpavlin
File size: 601 byte(s)
make table zebra color
1 <%args>
2 $transports
3 </%args>
4 <&|/_elements/wrapper&>
5 <table>
6 <tr>
7 <th>source</th>
8 <th>destination</th>
9 <th>request nr</th>
10 <th>dependency</th>
11 <th>created by</th>
12 <th>&nbsp;</th>
13 </tr>
14
15 % my $i = 0;
16 % while (my $t = $transports->next) {
17 <tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>">
18 <td><% $t->source->name %></td>
19 <td><% $t->destination->name %></td>
20 <td><tt><% $t->request_nr %></tt></td>
21 <td>
22 <% $t->client_dependent ? 'client' : 'none' %>
23 </td>
24 <td>
25 % if ($t->created_by) {
26 <em><% $t->created_by->name %></em>
27 % }
28 </td>
29 <td><a href="/edit/<% $t->id %>">edit</a></td>
30 </tr>
31 % }
32 </table>
33 </&>

  ViewVC Help
Powered by ViewVC 1.1.26