2 |
$transports |
$transports |
3 |
</%args> |
</%args> |
4 |
<&|/_elements/wrapper&> |
<&|/_elements/wrapper&> |
5 |
<table border="1" cellspacing="0" cellpadding="3"> |
<table> |
6 |
<tr> |
<tr> |
7 |
<th>source</th> |
<th>source</th> |
8 |
<th>destination</th> |
<th>destination</th> |
9 |
<th>request nr</th> |
<th>request nr</th> |
10 |
<th>dependency</th> |
<th>dependency</th> |
11 |
<th>created by</th> |
<th>created by</th> |
12 |
|
<th> </th> |
13 |
</tr> |
</tr> |
14 |
|
|
15 |
|
% my $i = 0; |
16 |
% while (my $t = $transports->next) { |
% while (my $t = $transports->next) { |
17 |
<tr> |
<tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>"> |
18 |
<td><% $t->source->name %></td> |
<td><% $t->source->name %></td> |
19 |
<td><% $t->destination->name %></td> |
<td><% $t->destination->name %></td> |
20 |
<td><tt><% $t->request_nr %></tt></td> |
<td><tt><% $t->request_nr %></tt></td> |