Changeset 12892 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 29 Apr 2015, 09:37:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r12664 r12892 172 172 self.flash(_('Successfully removed: ${a}', 173 173 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))) 174 177 self.redirect(self.url(self.context, '@@manage')+'#tab2') 175 178 return … … 228 231 self.context[code] = container 229 232 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)) 230 235 self.redirect(self.url(self.context, u'@@manage')) 231 236 return … … 381 386 self.flash(_('Form has been saved.')) 382 387 fields_string = ' + '.join(changed_fields) 383 self.context.writeLogMessage(self, 'saved: % 388 self.context.writeLogMessage(self, 'saved: %s' % fields_string) 384 389 return 385 390 … … 903 908 self.flash(_('Form has been saved.')) 904 909 if fields_string: 905 self.context.writeLogMessage(self, 'saved: % 910 self.context.writeLogMessage(self, 'saved: %s' % fields_string) 906 911 return 907 912
Note: See TracChangeset for help on using the changeset viewer.