/[transports]/trunk/web/templates/transports/create/landscape
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/web/templates/transports/create/landscape

Parent Directory Parent Directory | Revision Log Revision Log


Revision 78 - (show annotations)
Tue Jun 13 15:28:25 2006 UTC (17 years, 11 months ago) by dpavlin
File size: 572 byte(s)
modified new transport to be two screen wizard (select landscape, enter request)
1 <%args>
2 $landscape_id => 0
3 </%args>
4 <%init>
5
6 my $landscapes = Transports::Model::UserOnLandscapeCollection->new();
7 $landscapes->limit(
8 column => 'user_on',
9 value => Jifty->web->current_user->id,
10 quote_value => 0,
11 );
12 $landscapes->order_by({ column => 'landscape' });
13
14 </%init>
15
16 <h2>Select landscape in which to create transport</h2>
17
18 <ul>
19 % while (my $l = $landscapes->next ) {
20 <li>
21 <% Jifty->web->link(
22 label => $l->landscape->name,
23 onclick => {
24 replace_with => '/transports/create/new',
25 args => { landscape_id => $l->landscape->id },
26 }
27 ) %>
28 </li>
29 % }
30 </ul>

  ViewVC Help
Powered by ViewVC 1.1.26