Changeset 7232 for main


Ignore:
Timestamp:
28 Nov 2011, 11:21:20 (13 years ago)
Author:
Henrik Bettermann
Message:

Show proper label and title on ContactUserForm?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r7231 r7232  
    205205
    206206    def title(self):
    207         userid = self.request.principal.id
    208207        return u'Contact %s' % self.config.name_admin
    209208
     
    454453    pnav = 0
    455454    form_fields = grok.AutoFields(IContactForm).select('body')
     455    title = u'Contact'
     456
     457    def label(self):
     458        return u'Send message to %s' % self.context.title
    456459
    457460    @grok.action('Send message now')
Note: See TracChangeset for help on using the changeset viewer.