Changeset 103 for waeup_product/trunk/Extensions
- Timestamp:
- 27 Oct 2005, 16:06:03 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r100 r103 70 70 # Actions 71 71 ########################################## 72 waeup_ptypes = "'University','StudentsFolder','Student','Jamb','Faculty','Department','Course'" 73 waeup_ptypes += ",'AccoFolder','Accommodation'" 72 74 if CPSSubscriptions: ###( 75 73 76 ptypes = "('Portal', 'CPSMailAccess Message', 'CPSMailAccess Box', 'CPSMailAccess Folder',"\ 74 + "'University', 'StudentsFolder', 'Student', 'Jamb', 'Faculty', 'Department','Course')"77 + waeup_ptypes + ")" 75 78 condition = "object.portal_type not in %s" % ptypes 76 79 … … 85 88 self.verifyAction('portal_subscriptions', **action) 86 89 if CPSForum: 87 ptypes = "('University','StudentsFolder','Student', 'Jamb','Faculty', 'Department','Course')" 88 condition = "object.portal_type not in %s" % ptypes 90 condition = "object.portal_type not in (%s)" % waeup_ptypes 89 91 90 92 action = {'id' : 'activate_comments', … … 156 158 'visible' : 1, 157 159 }, 160 { 'tool' : 'portal_actions', 161 'id' : 'accomodation', 162 'name' : 'Accommodation', 163 'action' : 'string:${portal_url}/sections/waeup/Accommodation/accommodation_index_html', 164 'permissions': (ModifyPortalContent,UniversityManage,StudentManage), 165 'category' : 'main_tabs', 166 'visible' : 1, 167 }, 158 168 ## { 'tool' : 'portal_actions', 159 169 ## 'id' : 'add_jamb', … … 288 298 'Department': 'waeup_section_wf', 289 299 'Course': 'waeup_section_wf', 300 'AccoFolder': 'waeup_section_wf', 301 'Accommodation': 'waeup_section_wf', 290 302 } 291 303
Note: See TracChangeset for help on using the changeset viewer.