- Timestamp:
- 12 Feb 2015, 08:22:49 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/reports.py
r12584 r12603 27 27 from waeup.kofa.reports import get_generators 28 28 29 29 30 grok.templatedir('templates') 31 30 32 31 33 class ReportsContainerPage(KofaPage): … … 48 50 self.context.delete_report_entry(entry) 49 51 self.flash('Report discarded: %s' % job_id) 50 ob_class = self.__implemented__.__name__.replace('waeup.kofa.','') 52 ob_class = self.__implemented__.__name__.replace( 53 'waeup.kofa.', '') 51 54 grok.getSite().logger.info( 52 55 '%s - report %s discarded' % (ob_class, job_id)) … … 83 86 """ 84 87 grok.context(IReportsContainer) 88 85 89 def traverse(self, name): 86 90 """Return a report generator or report if one is registered under … … 103 107 return located(report, self.context, name) 104 108 return None 109 105 110 106 111 class ReportsContainerCreate(KofaPage):
Note: See TracChangeset for help on using the changeset viewer.