- Timestamp:
- 17 Jun 2012, 06:42:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r8476 r8735 35 35 VALIDATED) 36 36 from waeup.kofa.students.browser import ( 37 StudentClearanceManageFormPage, write_log_message,37 StudentClearanceManageFormPage, 38 38 StudentBaseManageFormPage, StudentFilesUploadPage, 39 39 ExportPDFClearanceSlipPage, StudentsContainerPage, … … 568 568 store = getUtility(IExtFileStore) 569 569 store.deleteFileByContext(context, attr=download_name) 570 write_log_message(view, 'deleted: %s' % download_name)570 context.writeLogMessage(view, 'deleted: %s' % download_name) 571 571 view.flash(_('${a} deleted.', mapping = {'a':download_name})) 572 572 return … … 607 607 file_id = IFileStoreNameChooser(context).chooseName(attr=download_name) 608 608 store.createFile(file_id, upload) 609 write_log_message(view, 'uploaded: %s (%s)' % (609 context.writeLogMessage(view, 'uploaded: %s (%s)' % ( 610 610 download_name,upload.filename)) 611 611 view.flash(_('File ${a} uploaded.', mapping = {'a':download_name}))
Note: See TracChangeset for help on using the changeset viewer.