Changeset 13431 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 10 Nov 2015, 11:52:28 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r13426 r13431 1624 1624 1625 1625 def update(self, back=None, finish=None, showlog=None): 1626 if finish is not None: 1627 self.redirect(self.url(self.context, '@@import1')) 1628 return 1626 1629 if not grok.getSite()['configuration'].maintmode_enabled_by and \ 1627 1630 not self.request.principal.id == 'admin': … … 1631 1634 type='danger') 1632 1635 self.redirect(self.url(self.context)) 1633 return1634 if finish is not None:1635 self.redirect(self.url(self.context, '@@import1'))1636 1636 return 1637 1637 session = ISession(self.request)['waeup.kofa'] … … 1882 1882 self.context.logger.info('%s - maintmode enabled' % ob_class) 1883 1883 self.flash(_('Maintenance mode enabled.'), type='warning') 1884 self.redirect(self.url(self.context ))1884 self.redirect(self.url(self.context, 'import1')) 1885 1885 return 1886 1886 -
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r13394 r13431 26 26 UniversityPage, FacultiesContainerPage, DatacenterPage, FacultyPage, 27 27 DepartmentPage, CoursePage, CertificatePage, CertificateCoursePage, 28 UsersContainerPage, UserManageFormPage )28 UsersContainerPage, UserManageFormPage, DatacenterImportStep1) 29 29 from waeup.kofa.browser.interfaces import ( 30 30 IFacultiesContainer, IFaculty, IDepartment, ICourse, ICertificate, … … 631 631 grok.context(IDataCenter) 632 632 grok.require('waeup.importData') 633 grok.view(Datacenter Page)633 grok.view(DatacenterImportStep1) 634 634 grok.order(7) 635 635 icon = 'actionicon_stop.png'
Note: See TracChangeset for help on using the changeset viewer.