Changeset 10625


Ignore:
Timestamp:
18 Sep 2013, 04:28:46 (11 years ago)
Author:
Henrik Bettermann
Message:

Make container title editable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r10571 r10625  
    348348    grok.name('manage')
    349349    grok.template('applicantscontainermanagepage')
    350     form_fields = grok.AutoFields(IApplicantsContainer).omit('title')
     350    form_fields = grok.AutoFields(IApplicantsContainer)
    351351    taboneactions = [_('Save'),_('Cancel')]
    352352    tabtwoactions = [_('Remove selected'),_('Cancel'),
     
    414414        apptypes_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT
    415415        title = apptypes_dict[self.context.prefix][0]
    416         self.context.title = u'%s %s/%s' % (
    417             title, self.context.year, self.context.year + 1)
     416        #self.context.title = u'%s %s/%s' % (
     417        #    title, self.context.year, self.context.year + 1)
    418418        self.flash(_('Form has been saved.'))
    419419        fields_string = ' + '.join(changed_fields)
Note: See TracChangeset for help on using the changeset viewer.