Changeset 937 for WAeUP_SRP/trunk
- Timestamp:
- 25 Nov 2006, 09:00:34 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r930 r937 235 235 course_id = course.get('code') 236 236 if course_id in course_list: 237 msg = " Dupplicate Course %(code)s" % course237 msg = "Multiple Course Code" 238 238 logger.info(msg) 239 239 no_import.write('"%s",' % msg) … … 376 376 code = cert_course.get('certificate_code') 377 377 ## pid = "%(depid)s_%(code)s" % vars() 378 pid = "%(code)s" % vars() 378 pid = "%(code)s" % vars() 379 379 if not pid in certs.keys(): 380 380 em = 'CertCode %(certificate_code)s for %(code)s not found\n' % cert_course -
WAeUP_SRP/trunk/profiles/default/actions.xml
r924 r937 4 4 <action title="Search Members" action_id="member_view" category="user" 5 5 condition_expr="member" 6 url_expr="string:${portal_url}/search_members_form" 7 visible="False"> 6 url_expr="string:${portal_url}/search_members_form" visible="False"> 8 7 <permission>View</permission> 9 8 </action> … … 100 99 <action title="Portal Members" action_id="members" category="global" 101 100 condition_expr="member" 102 url_expr="string:${portal_url}/search_members_form" 103 visible="True"> 101 url_expr="string:${portal_url}/search_members_form" visible="True"> 104 102 <permission>Modify portal content</permission> 105 103 </action> … … 119 117 </action> 120 118 <action title="Students" action_id="view_students" category="navigation" 121 condition_expr="python: here.isStaff()" url_expr="string:${portal_url}/campus/students"122 visible="True">119 condition_expr="python:portal.campus.students.isStaff()" 120 url_expr="string:${portal_url}/campus/students" visible="True"> 123 121 <permission>View</permission> 124 122 </action> 125 123 <action title="PINs" action_id="view_pins" category="navigation" 126 condition_expr=" member" url_expr="string:${portal_url}/campus/pins"127 visible="True">128 <permission> Modify portal content</permission>124 condition_expr="python:portal.campus.pins.isSectionOfficer()" 125 url_expr="string:${portal_url}/campus/pins" visible="True"> 126 <permission>View</permission> 129 127 </action> 130 128 <action title="Contact" action_id="contact_admin" category="navigation" 131 condition_expr="member" url_expr="string:${portal_url}/contact_admin_form" visible="True"> 129 condition_expr="member" 130 url_expr="string:${portal_url}/contact_admin_form" visible="True"> 132 131 <permission>View</permission> 133 132 </action> 134 133 <action title="Support" action_id="support" category="student_navigation" 135 condition_expr="member" url_expr="string:${portal_url}/support_form" visible="True"> 134 condition_expr="member" url_expr="string:${portal_url}/support_form" 135 visible="True"> 136 136 <permission>View</permission> 137 137 </action> … … 160 160 <permission>View</permission> 161 161 </action> 162 163 162 <action title="My Accommodation" action_id="reserve_accommodation" 164 163 category="student_navigation" condition_expr="member" 165 164 url_expr="string:${portal_url}/reserve_accommodation" visible="True"/> 166 <permission>View</permission>167 168 165 <action title="Register Courses" action_id="register_courses" 169 166 category="student" condition_expr="member" 170 167 url_expr="string:${portal_url}/register_courses" visible="False"/> 171 <permission>View</permission>172 173 168 <action title="Home" action_id="students_home" category="student_navigation" 174 169 condition_expr="member" url_expr="string:${portal_url}" visible="True"> -
WAeUP_SRP/trunk/profiles/default/rolemap.xml
r899 r937 14 14 <role name="SectionOfficer"/> 15 15 </permission> 16 <permission name="View" acquire="True"> 17 <role name="SectionManager"/> 18 <role name="SectionReader"/> 19 <role name="SectionOfficer"/> 20 </permission> 16 21 <permission name="Add portal content" acquire="True"> 17 22 <role name="SectionManager"/> … … 36 41 <permission name="List portal members" acquire="True"> 37 42 <role name="SectionManager"/> 43 <role name="SectionOfficer"/> 38 44 </permission> 39 45 <permission name="Review portal content" acquire="True"> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r901 r937 21 21 else: 22 22 if context.portal_type == 'AcademicsFolder': 23 return context.academics .academics_view()23 return context.academics_view() 24 24 elif context.portal_type == 'Faculty': 25 25 return context.faculty_view() -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_index.py
r903 r937 10 10 # $Id$ 11 11 """ 12 return the appropriate page in the ac ademicssection12 return the appropriate page in the accommodation section 13 13 """ 14 14 … … 17 17 pm = context.portal_membership 18 18 19 campus = context.portal_catalog(meta_type = "University")[-1].getObject() 20 21 if context.isSectionManager(): 19 if context.isSectionOfficer(): 22 20 if context.portal_type == 'AccoFolder': 23 21 return context.accommodation.acco_folder_view() -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
r911 r937 29 29 <!-- buttons --> 30 30 <metal:block define-macro="buttons"> 31 <!-- Section Manager -->32 <tal:block condition="context/isSection Manager">31 <!-- SectionOfficer --> 32 <tal:block condition="context/isSectionOfficer"> 33 33 34 34 <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> -
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r920 r937 25 25 if "ClearanceOfficers" in member.getGroups(): 26 26 return redirect("%s/search_students" % students_url) 27 if context.isSection Manager():27 if context.isSectionOfficer(): 28 28 return redirect("%s/search_students" % students_url) 29 29 if context.isStudent():
Note: See TracChangeset for help on using the changeset viewer.