Changeset 288 for WAeUP_SRP/trunk
- Timestamp:
- 7 Jul 2006, 14:43:03 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r287 r288 173 173 if len(course_id) == 3: 174 174 course_id = "%s000" % course_id 175 elif course_id.startswith('CHEM'):176 tid = course_id.replace('CHEM','CHE')177 logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars())178 course_id = tid175 ## elif course_id.startswith('CHEM'): 176 ## tid = course_id.replace('CHEM','CHE') 177 ## logger.info("invalid course_code %(course_id)s renaming to %(tid)s" % vars()) 178 ## course_id = tid 179 179 ## elif course_id.startswith('DAIC'): 180 180 ## tid = course_id.replace('DAIC','DAC') … … 189 189 if not no_import: 190 190 no_import = open("%s/import/%s_not_imported.csv" % (i_home,name),"w") 191 no_import.write('"CourseCode","Description","Credits","Dept","Semester","Session","PassMark","CourseKey","Category","AdmStatus" ')191 no_import.write('"CourseCode","Description","Credits","Dept","Semester","Session","PassMark","CourseKey","Category","AdmStatus"\n') 192 192 no_import.write("invalid course_code %(CourseCode)s\n" % course) 193 193 no_import.write('"%(CourseCode)s","%(Description)s","%(Credits)s","%(Dept)s","%(Semester)s","%(Session)s","%(PassMark)s","%(CourseKey)s","%(Category)s","%(AdmStatus)s"\n' % course) -
WAeUP_SRP/trunk/profiles/default/rolemap.xml
r256 r288 2 2 <rolemap> 3 3 <roles> 4 <role name="UniversityManager"/> 5 <role name="FacultyManager"/> 6 <role name="DepartmentManager"/> 4 7 <role name="CourseAdvisor"/> 5 8 <role name="Lecturer"/> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_faculty_wf/definition.xml
r210 r288 5 5 meta_type="CPS Workflow"> 6 6 <permission>View</permission> 7 <state state_id="reviewed" title=""> 8 <exit-transition transition_id="retract"/> 9 </state> 7 10 <state state_id="work" title="Work"> 8 11 <exit-transition transition_id="create_content"/> 9 12 <exit-transition transition_id="cut_copy_paste"/> 13 <exit-transition transition_id="review"/> 10 14 <permission-map name="View" acquired="False"> 11 15 <permission-role>Manager</permission-role> … … 52 56 <transition-behavior behavior_id="allow-sub-copy"/> 53 57 </transition> 58 <transition transition_id="retract" 59 title="Retract a reviewed Faculty" 60 new_state="work" trigger="USER" 61 before_script="" after_script=""> 62 <action url="%(content_url)s/cpsdocument_edit_form" 63 category="workflow">action_retract</action> 64 <guard> 65 <guard-role>FacultyManager</guard-role> 66 <guard-role></guard-role> 67 </guard> 68 </transition> 69 <transition transition_id="review" title="" 70 new_state="reviewed" trigger="USER" 71 before_script="" after_script=""> 72 <action url="%(content_url)s/cpsdocument_edit_form" 73 category="workflow">Review</action> 74 <guard> 75 <guard-role>FacultyManager</guard-role> 76 <guard-role>Manager</guard-role> 77 </guard> 78 </transition> 54 79 </cps-workflow> -
WAeUP_SRP/trunk/skins/waeup_default/temporary_view_all_form.pt
r256 r288 25 25 <br /> 26 26 <span tal:condition="python:context.portal_type != 'University' and doc.render()" tal:omit-tag=""> 27 <p>object's workflowstate: <span tal:replace="python: context.portal_workflow.getInfoFor(context,'review_state',None)"/></p> 27 28 <p>Exemplary view of the <strong>object's data fields</strong>: </p> 28 29 <tal:block
Note: See TracChangeset for help on using the changeset viewer.