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

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

revision 44 by dpavlin, Sat May 27 23:40:27 2006 UTC revision 45 by dpavlin, Tue May 30 14:34:58 2006 UTC
# Line 21  $m->out("No transports found.") if ($tra Line 21  $m->out("No transports found.") if ($tra
21    
22  <table>  <table>
23  <tr>  <tr>
24  <th>source</th>  <th>src</th>
25  <th>destination</th>  <th>dest</th>
26  <th>request nr</th>  <th>class</th>
27  <th>dependency</th>  <th>req.nr</th>
28    <th>dep</th>
29  <th>created by</th>  <th>created by</th>
30    <th>description</th>
31  % if (Jifty->web->current_user->admin) {  % if (Jifty->web->current_user->admin) {
32  <th>&nbsp;</th>  <th>&nbsp;</th>
33  % }  % }
# Line 37  $m->out("No transports found.") if ($tra Line 39  $m->out("No transports found.") if ($tra
39  <tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>">  <tr class="<% ++$i % 2 == 0 ? 'alt' : '' %>">
40  <td><% $t->source->name %></td>  <td><% $t->source->name %></td>
41  <td><% $t->destination->name %></td>  <td><% $t->destination->name %></td>
42    <td><% $t->class->name %></td>
43  <td><tt><% $t->request_nr %></tt></td>  <td><tt><% $t->request_nr %></tt></td>
44  <td>  <td>
45  <% $t->client_dependent ? 'client' : 'none' %>  <% $t->client_dependent ? 'client' : 'none' %>
# Line 46  $m->out("No transports found.") if ($tra Line 49  $m->out("No transports found.") if ($tra
49      <em><% $t->created_by->name %></em>      <em><% $t->created_by->name %></em>
50  %  }  %  }
51  </td>  </td>
52  % if (Jifty->web->current_user->admin) {  <td><% $t->description %></td>
53    %  if (Jifty->web->current_user->admin) {
54  <td><% Jifty->web->link( label => 'edit', url => '/edit/' . $t->id ) %></td>  <td><% Jifty->web->link( label => 'edit', url => '/edit/' . $t->id ) %></td>
55  % }  %  }
56  </tr>  </tr>
57  % }  % }
58  </table>  </table>

Legend:
Removed from v.44  
changed lines
  Added in v.45

  ViewVC Help
Powered by ViewVC 1.1.26