Parent Directory | Revision Log
refactor methods (much shorter), make default page with a Pony, automaticly fill user which generated transport, added missing nav and sidebar
1 | dpavlin | 12 | <%args> |
2 | $transports | ||
3 | </%args> | ||
4 | <&|/_elements/wrapper&> | ||
5 | dpavlin | 16 | <table border="1" cellspacing="0" cellpadding="3"> |
6 | <tr> | ||
7 | <th>source</th> | ||
8 | <th>destination</th> | ||
9 | <th>request nr</th> | ||
10 | dpavlin | 21 | <th>dependency</th> |
11 | dpavlin | 16 | <th>created by</th> |
12 | </tr> | ||
13 | |||
14 | dpavlin | 12 | % while (my $t = $transports->next) { |
15 | dpavlin | 16 | <tr> |
16 | <td><% $t->source->name %></td> | ||
17 | <td><% $t->destination->name %></td> | ||
18 | <td><tt><% $t->request_nr %></tt></td> | ||
19 | <td> | ||
20 | dpavlin | 21 | <% $t->client_dependent ? 'client' : 'none' %> |
21 | dpavlin | 16 | </td> |
22 | <td> | ||
23 | % if ($t->created_by) { | ||
24 | <em><% $t->created_by->name %></em> | ||
25 | % } | ||
26 | </td> | ||
27 | </tr> | ||
28 | dpavlin | 12 | % } |
29 | dpavlin | 16 | </table> |
30 | dpavlin | 12 | </&> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |