Changeset 913 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 21 Nov 2006, 10:49:45 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt
r911 r913 1 1 <metal:html tal:define="info context/getStudentInfo; 2 is_so info/is_so|nothing;3 is_student info/is_student|nothing;2 is_so context/isSectionOfficer; 3 is_student context/isStudent; 4 4 "> 5 5 <metal:body use-macro="here/waeup_content_master/macros/master"> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r911 r913 21 21 22 22 info = {} 23 info['is_sm'] = context.isSectionManager()24 info['is_student'] = context.isStudent()25 info['is_co'] = context.isClearanceOfficer()26 info['is_so'] = context.isSectionOfficer()27 23 member_id = str(member) 28 24 if student is None: -
WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py
r911 r913 18 18 19 19 info = {} 20 info['is_sm'] = context.isSectionManager()21 info['is_so'] = context.isSectionOfficer()22 info['is_student'] = context.isStudent()23 20 info['action'] = "%s" % context.campus.absolute_url() 24 21 info['choosen_ids'] = request.get('ids',[]) -
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r911 r913 44 44 student_id = pt[-(3+p)] 45 45 level_id = pt[-(1+p)] 46 info['is_sm'] = context.isSectionManager()47 info['is_so'] = context.isSectionOfficer()48 info['is_student'] = context.isStudent()49 46 info['action'] = "%s" % context.absolute_url() 50 47 info['choosen_ids'] = request.get('ids',[]) -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r911 r913 1 1 <metal:html tal:define="info context/getStudentInfo; 2 is_so info/is_so|nothing;2 is_so context/isSectionOfficer; 3 3 is_staff context/isStaff; 4 is_student info/is_student|nothing">4 is_student context/isStudent"> 5 5 <metal:body use-macro="here/main_template/macros/master"> 6 6 <metal:main fill-slot="main"> -
WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt
r911 r913 1 1 <metal:html tal:define="info context/getStudyCourseInfo; 2 is_so info/is_so|nothing;2 is_so context/isSectionOfficer; 3 3 s_info context/getStudentInfo;" 4 4 > -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r911 r913 1 1 <metal:html tal:define="info context/getStudyLevelInfo; 2 is_so info/is_so|nothing;2 is_so context/isSectionOfficer; 3 3 s_info context/getStudentInfo;" 4 4 >
Note: See TracChangeset for help on using the changeset viewer.