Changeset 9494
- Timestamp:
- 31 Oct 2012, 22:11:40 (12 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/browser.txt
r9178 r9494 217 217 >>> print browser.contents 218 218 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 219 ...<td>Applications Officer <br /></td>219 ...<td>Applications Officer</td> 220 220 ... 221 221 -
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9493 r9494 481 481 role_title = dict(get_all_roles())[site_role].title 482 482 site_roles_string += '%s, <br />' % role_title 483 site_roles_string = site_roles_string.r strip(', <br />')483 site_roles_string = site_roles_string.replace(', <br />','') 484 484 return site_roles_string 485 485 … … 1663 1663 @jsaction(_('Remove selected')) 1664 1664 def delFaculties(self, **data): 1665 if not checkPermission('waeup.managePortal', self.context): 1666 self.flash(_('You are not allowed to remove entire faculties.')) 1667 return 1665 1668 delSubobjects(self, redirect='@@manage', tab='1') 1666 1669 return … … 1764 1767 @jsaction(_('Remove selected')) 1765 1768 def delDepartments(self, **data): 1769 if not checkPermission('waeup.managePortal', self.context): 1770 self.flash(_('You are not allowed to remove entire departments.')) 1771 return 1766 1772 delSubobjects(self, redirect='@@manage', tab='2') 1767 1773 return … … 1957 1963 @jsaction(_('Remove selected certificates')) 1958 1964 def delCertificates(self, **data): 1965 if not checkPermission('waeup.managePortal', self.context): 1966 self.flash(_('You are not allowed to remove certificates.')) 1967 return 1959 1968 delSubobjects( 1960 1969 self, redirect='@@manage', tab='3', subcontainer='certificates')
Note: See TracChangeset for help on using the changeset viewer.