1 |
<%args> |
2 |
$transports |
3 |
</%args> |
4 |
<&|/_elements/wrapper&> |
5 |
<table border="1" cellspacing="0" cellpadding="3"> |
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 |
</tr> |
13 |
|
14 |
% while (my $t = $transports->next) { |
15 |
<tr> |
16 |
<td><% $t->source->name %></td> |
17 |
<td><% $t->destination->name %></td> |
18 |
<td><tt><% $t->request_nr %></tt></td> |
19 |
<td> |
20 |
<% $t->client_dependent ? 'client' : 'none' %> |
21 |
</td> |
22 |
<td> |
23 |
% if ($t->created_by) { |
24 |
<em><% $t->created_by->name %></em> |
25 |
% } |
26 |
</td> |
27 |
<td><a href="/edit/<% $t->id %>">edit</a></td> |
28 |
</tr> |
29 |
% } |
30 |
</table> |
31 |
</&> |