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

revision 36 by dpavlin, Sat May 27 15:18:00 2006 UTC revision 37 by dpavlin, Sat May 27 15:56:52 2006 UTC
# Line 1  Line 1 
 <%args>  
 $transports  
 </%args>  
1  <&|/_elements/wrapper&>  <&|/_elements/wrapper&>
 <table>  
 <tr>  
 <th>source</th>  
 <th>destination</th>  
 <th>request nr</th>  
 <th>dependency</th>  
 <th>created by</th>  
 <th>&nbsp;</th>  
 </tr>  
2    
3  % my $i = 0;  <% Jifty->web->region(
4  % while (my $t = $transports->next) {          name => "transports-table",
5  <tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>">          path => "/fragments/transports"
6  <td><% $t->source->name %></td>  ) %>
7  <td><% $t->destination->name %></td>  
 <td><tt><% $t->request_nr %></tt></td>  
 <td>  
 <% $t->client_dependent ? 'client' : 'none' %>  
 </td>  
 <td>  
 %  if ($t->created_by) {  
     <em><% $t->created_by->name %></em>  
 %  }  
 </td>  
 <td><a href="/edit/<% $t->id %>">edit</a></td>  
 </tr>  
 % }  
 </table>  
8  </&>  </&>

Legend:
Removed from v.36  
changed lines
  Added in v.37

  ViewVC Help
Powered by ViewVC 1.1.26