Changeset 894 for WAeUP_SRP/trunk/skins
- Timestamp:
- 19 Nov 2006, 07:50:13 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r893 r894 53 53 wftool.doActionFor(info['student'],'request_clearance',dest_container=1) 54 54 psm = "You successfully requested clearance!" 55 action = "/clearance_view" 55 56 else: 56 57 psm = "You must tick the acknowledgement check box before submission!" -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r889 r894 1 <metal:block define-macro="clearance_edit_form"> 1 2 <tal:block define=" 2 3 info context/getStudentInfo; … … 43 44 </metal:block> 44 45 </tal:block> 46 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
r893 r894 8 8 </tal:block> 9 9 <tal:block condition="python: isStaff or isManager"> 10 <a href="" 10 <a href="" tal:condition="python: isManager" 11 11 tal:attributes="href string:${here/academicsParent}"> 12 12 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> -
WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt
r891 r894 3 3 is_manager info/is_manager|nothing; 4 4 is_student info/is_student|nothing; 5 is_co info/is_co|nothing; 5 6 "> 6 7 <metal:body use-macro="here/main_template/macros/master"> … … 10 11 </span> 11 12 12 <span tal:condition="info /app_doc/app_email">13 <span tal:condition="info"> 13 14 <h3>Contact Student</h3> 14 15 <br /> 15 <span tal:condition="info ">16 <span tal:condition="info/app_doc/app_email"> 16 17 <span tal:condition="not:info/app_doc/app_email"> 17 18 Sorry, the student did not provide an email address. … … 69 70 </span> 70 71 <form action="." method="post" class="group"> 71 <input type="submit" name="student_index:method" 72 class="context" value="Continue" /> 72 <input type="submit" tal:condition="is_co" name="clearance_edit_form:method" 73 class="context" value="Continue" /> 74 </form> 73 75 </span> 74 76 </metal:main> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r885 r894 23 23 info['is_manager'] = context.isManager() 24 24 info['is_student'] = context.isStudent() 25 info['is_co'] = context.isClearanceOfficer() 25 26 member_id = str(member) 26 27 if student is None: -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r891 r894 25 25 return context.study_level_view() 26 26 elif context.portal_type == 'StudentClearance': 27 return context.clearance_ edit_form()27 return context.clearance_view() 28 28 elif context.portal_type == 'Student': 29 29 return redirect("%s/student_view" % context.absolute_url()) -
WAeUP_SRP/trunk/skins/waeup_student/students_manager_view.pt
r891 r894 63 63 </td> 64 64 <td><span tal:replace="python: student['app_doc'].jamb_reg_no" /></td> 65 <td tal:condition="options/co_view|nothing"><a href="id" 66 tal:attributes="href string:${student/student/clearance/absolute_url}/clearance_edit_form" 67 tal:content="student/review_state"></a></td> 65 <td tal:condition="options/co_view|nothing"> 66 <a href="id" 67 tal:attributes="href string:${student/student/clearance/absolute_url}/external_clearance_edit_form" 68 target="edit" 69 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')" 70 >[edit]</a></td> 71 72 73 74 68 75 <td tal:condition="not: options/co_view|nothing"><span tal:replace="student/review_state" /></td> 69 76 </tr>
Note: See TracChangeset for help on using the changeset viewer.