Ignore:
Timestamp:
23 Jun 2011, 09:43:06 (14 years ago)
Author:
Henrik Bettermann
Message:

Show access code in headline of left sidebar of applicants. Show 'Your Application' in title of form.

Fix contact form.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py

    r6456 r6465  
    6868        if prefix is not None:
    6969            self.id = '%s.%s' % (prefix, self.id)
    70         self.title = u'My Application'
     70        self.title = u'Applicant'
    7171        self.description = u'An applicant'
    7272        self.groups = []
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6462 r6465  
    546546    @property
    547547    def title(self):
     548        if self.request.principal.title == 'Applicant':
     549            return u'Your Application Record'
    548550        return '%s' % self.context.access_code
    549551
     
    749751    grok.template('form_edit')
    750752    manage_applications = False
     753    title = u'Your Application Form'
    751754
    752755
Note: See TracChangeset for help on using the changeset viewer.