/[transports]/trunk/web/templates/fragments/index.html
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/fragments/index.html

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

revision 35 by dpavlin, Sat May 27 15:18:00 2006 UTC revision 38 by dpavlin, Sat May 27 16:53:01 2006 UTC
# Line 1  Line 1 
1  <%args>  <&|/_elements/wrapper, title => 'Transports' &>
2  $transports  
3  </%args>  <% Jifty->web->region(
4  <&|/_elements/wrapper&>          name => "transports-table",
5  <table>          path => "/fragments/transports"
6  <tr>  ) %>
 <th>source</th>  
 <th>destination</th>  
 <th>request nr</th>  
 <th>dependency</th>  
 <th>created by</th>  
 <th>&nbsp;</th>  
 </tr>  
7    
 % my $i = 0;  
 % while (my $t = $transports->next) {  
 <tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>">  
 <td><% $t->source->name %></td>  
 <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.35  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.26