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