Ignore:
Timestamp:
29 Apr 2015, 09:37:13 (10 years ago)
Author:
Henrik Bettermann
Message:

More docs.

File:
1 edited

Legend:

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

    r12664 r12892  
    172172            self.flash(_('Successfully removed: ${a}',
    173173                mapping = {'a':', '.join(deleted)}))
     174        ob_class = self.__implemented__.__name__.replace('waeup.kofa.','')
     175        self.context.logger.info(
     176            '%s - removed: %s' % (ob_class, ', '.join(deleted)))
    174177        self.redirect(self.url(self.context, '@@manage')+'#tab2')
    175178        return
     
    228231        self.context[code] = container
    229232        self.flash(_('Added:') + ' "%s".' % code)
     233        ob_class = self.__implemented__.__name__.replace('waeup.kofa.','')
     234        self.context.logger.info('%s - added: %s' % (ob_class, code))
    230235        self.redirect(self.url(self.context, u'@@manage'))
    231236        return
     
    381386        self.flash(_('Form has been saved.'))
    382387        fields_string = ' + '.join(changed_fields)
    383         self.context.writeLogMessage(self, 'saved: % s' % fields_string)
     388        self.context.writeLogMessage(self, 'saved: %s' % fields_string)
    384389        return
    385390
     
    903908        self.flash(_('Form has been saved.'))
    904909        if fields_string:
    905             self.context.writeLogMessage(self, 'saved: % s' % fields_string)
     910            self.context.writeLogMessage(self, 'saved: %s' % fields_string)
    906911        return
    907912
Note: See TracChangeset for help on using the changeset viewer.