/[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

Diff of /trunk/web/templates/transports

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/web/templates/all_transports revision 12 by dpavlin, Fri May 5 22:02:19 2006 UTC trunk/web/templates/transports revision 35 by dpavlin, Sat May 27 15:18:00 2006 UTC
# Line 2  Line 2 
2  $transports  $transports
3  </%args>  </%args>
4  <&|/_elements/wrapper&>  <&|/_elements/wrapper&>
5  <ul>  <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) {  % while (my $t = $transports->next) {
17   <li><% $t->source->name %> -&gt; <% $t->destination->name %>  <tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>">
18          <tt><% $t->request_nr %></tt>  <td><% $t->source->name %></td>
19          client <% $t->client_dependent ? 'dependent' : 'independent' %>  <td><% $t->destination->name %></td>
20  %    if ($t->created_by) {  <td><tt><% $t->request_nr %></tt></td>
21          requested by <em><% $t->created_by->name %></em>  <td>
22  %    }  <% $t->client_dependent ? 'client' : 'none' %>
23   </li>  </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  </&>  </&>

Legend:
Removed from v.12  
changed lines
  Added in v.35

  ViewVC Help
Powered by ViewVC 1.1.26