Changeset 2105 for trunk/loreality/loreality/controllers/pilot.py
- Timestamp:
- 07/05/10 14:51:56 (23 months ago)
- File:
-
- 1 edited
-
trunk/loreality/loreality/controllers/pilot.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/loreality/loreality/controllers/pilot.py
r2104 r2105 19 19 from formencode import htmlfill, variabledecode 20 20 from formencode.validators import Invalid 21 from pylons.i18n.translation import _, ungettext 21 22 import uuid 22 23 … … 26 27 #-------------------------------------------------------------- 27 28 def index(self, values=None, errors=None ): 28 c.heading = "Pilots"29 c.title = "All pilots"29 c.heading = _("Pilots") 30 c.title = _("All pilots") 30 31 31 32 pilot_q = meta.Session.query(model.Pilot).order_by( model.Pilot.name ) … … 43 44 abort(404) 44 45 45 c.heading = "Pilots"46 c.heading = _("Pilots") 46 47 c.title = pilot.name 47 48 c.pilot = pilot … … 60 61 abort(404) 61 62 62 c.heading = "Pilots"63 c.heading = _("Pilots") 63 64 c.title = "Edit %s"%pilot.name 64 65 c.pilot = pilot
Note: See TracChangeset
for help on using the changeset viewer.
