Changeset 1472 for WAeUP_SRP/trunk/skins
- Timestamp:
- 22 Feb 2007, 21:28:09 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py
r1431 r1472 62 62 if res: 63 63 info['session'] = True 64 64 65 65 66 66 info['id'] = student_id … … 87 87 row['type'] = so.portal_type 88 88 review_state = row['review_state'] = so.review_state 89 row['is_editable'] = (is_student and review_state == "opened") or not is_student89 row['is_editable'] = (is_student and review_state == "opened") or is_sectionofficer 90 90 sv_link = s_view_links.get(so.portal_type,None) or "waeup_document_view" 91 91 row['s_view_link'] = "%s/%s" % (url,sv_link) -
WAeUP_SRP/trunk/skins/waeup_student/search_students_form.pt
r1471 r1472 12 12 students options/students; 13 13 info options/info|nothing; 14 is_so context/isSectionOfficer; 14 15 allowed options/allowed|nothing" 15 16 > … … 24 25 <a href="list_students"><strong>Cleared Student Export</strong></a> 25 26 27 28 <span tal:condition="is_so"> 26 29 <a href="add_student"><strong>Add Student Record</strong></a> 27 30 28 31 <a href="paid_transfer_list"><strong>Export Transfer Students</strong></a> 32 </span> 29 33 30 34 <h3> Search Student Section</h3><br /> -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r1359 r1472 37 37 onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> 38 38 [edit and change state] 39 </a> 39 </a> 40 <a tal:condition="python: context.isClearanceOfficer() and row['type']=='StudentClearance'" 41 href="edit" tal:attributes="href string:${row/url}/external_clearance_edit_form" 42 target="edit" 43 onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> 44 [change state] 45 </a> 40 46 </td> 41 47
Note: See TracChangeset for help on using the changeset viewer.