Ignore:
Timestamp:
07/05/10 12:56:53 (23 months ago)
Author:
dart
Message:

LoReality?:
o Add squadrons, pilots.
o Lot of fix
o Some cosmetics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loreality/loreality/templates/derived/page/pilot.html

    r2100 r2104  
    11<%inherit file="/base/index.html"/> 
     2<%namespace name="campaign" file="/component/campaign.html" import="*" />\ 
    23 
    34 
    4 <h2>${c.pilot.name}</h2> 
     5<h2>${c.pilot.name} - <a href=${h.url_for(controller='squadron', action='view',id=c.pilot.squadron_id) }>${c.pilot.squadron.name}</a></h2> 
    56 
    6 % if h.auth.authorized(h.auth.is_creator): 
     7Login: ${c.pilot.login} 
     8% if request.environ['REMOTE_USER'] == c.pilot.login: 
     9<p>It is you!</p> 
     10%endif 
     11% if h.auth.authorized(h.auth.is_admin): 
    712<a href=${h.url_for(controller='pilot', action='edit',id=c.pilot.id) }>[Edit]</a></li> 
    813%endif 
Note: See TracChangeset for help on using the changeset viewer.