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

trunk/web/templates/all_transports revision 21 by dpavlin, Fri May 26 18:28:51 2006 UTC trunk/web/templates/fragments/index.html revision 67 by dpavlin, Sun Jun 11 11:38:48 2006 UTC
# Line 1  Line 1 
1  <%args>  <&|/_elements/wrapper, title => 'Transports' &>
2  $transports  
3  </%args>  % if (not Jifty->web->current_user->id) {
4  <&|/_elements/wrapper&>  <% Jifty->web->redirect( '/login/transports' ) %>
5  <table border="1" cellspacing="0" cellpadding="3">  % } else {
6  <tr>  
7  <th>source</th>  <% Jifty->web->region(
8  <th>destination</th>          name => "transports-table",
9  <th>request nr</th>          path => "/fragments/transports"
10  <th>dependency</th>  ) %>
 <th>created by</th>  
 </tr>  
11    
 % while (my $t = $transports->next) {  
 <tr>  
 <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>  
 </tr>  
12  % }  % }
13  </table>  
14  </&>  </&>

Legend:
Removed from v.21  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.26