- Timestamp:
- 07/05/10 14:51:56 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/loreality/loreality/templates/derived/page/squadron.html
r2104 r2105 4 4 5 5 <h2>${c.squadron.name}</h2> 6 <h3>Description</h3> 6 7 <p>Plane is ${c.squadron.plane}</p> 8 <h3>Pilots</h3> 7 9 % for pilot in c.squadron.pilots: 8 10 <li><a href=${h.url_for(controller='pilot', action='view',id=pilot.id) }>${pilot.name}</a> 9 11 %if h.auth.authorized(h.auth.is_leader): 10 <a href=${h.url_for(pilotid=pilot.id, controller='squadron', action='removepilot',id=c.squadron.id) } >[Remove]</a></li>12 <a href=${h.url_for(pilotid=pilot.id, controller='squadron', action='removepilot',id=c.squadron.id) } class="action">[Remove]</a></li> 11 13 %endif 12 14 % endfor 13 15 % if h.auth.authorized(h.auth.is_leader): 14 16 ${campaign.add_pilot_to_squadron(c.squadron.id, c.available_pilots)} 15 <a href=${h.url_for(controller='squadron', action='edit',id=c.squadron.id) } >[Edit]</a></li>17 <a href=${h.url_for(controller='squadron', action='edit',id=c.squadron.id) } class="action">[Edit]</a></li> 16 18 %endif 17 <a href=${h.url_for(controller='squadron', action='index') }>[All squadron]</a></li> 19 <hr /> 20 <a href=${h.url_for(controller='squadron', action='index') } class="action">[All squadron]</a></li> 18 21
Note: See TracChangeset
for help on using the changeset viewer.
