Changeset 895 for WAeUP_SRP/trunk/skins
- Timestamp:
- 19 Nov 2006, 10:54:34 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r894 r895 44 44 psm = "" 45 45 args = {} 46 action = "/ clearance_edit_form"46 action = "/external_clearance_edit_form" 47 47 if is_valid: 48 48 if cpsdocument_edit_button: … … 53 53 wftool.doActionFor(info['student'],'request_clearance',dest_container=1) 54 54 psm = "You successfully requested clearance!" 55 action = "/clearance_view" 55 if context.isStudent(): 56 action = "/clearance_view" 56 57 else: 57 58 psm = "You must tick the acknowledgement check box before submission!" 59 if context.isStudent(): 60 action = "/clearance_edit_form" 58 61 elif clear_and_validate_button: 59 62 wftool.doActionFor(info['student'],'clear_and_validate') -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r894 r895 8 8 review_state info/review_state; 9 9 clear_review_state info/clear_review_state; 10 editable python: (isStudent and clear_review_state == 'open ' or isManager) and not isClearanceOfficer;10 editable python: (isStudent and clear_review_state == 'opened' or isManager) and not isClearanceOfficer; 11 11 mode python: test(editable,'edit','view'); 12 12 rendered_main python:info['clear_doc'].render(request=request, -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
r894 r895 8 8 </tal:block> 9 9 <tal:block condition="python: isStaff or isManager"> 10 <a href="" tal:condition="python: isManager"10 <a href="" tal:condition="python: 0" 11 11 tal:attributes="href string:${here/academicsParent}"> 12 12 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> … … 36 36 <!-- isManager --> 37 37 <tal:block condition="context/isManager"> 38 39 <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> 40 <input type="checkbox" value="True" name="acknowledge" /> 41 42 I hereby acknowledge by ticking this check box 43 that, if it is discovered at any time that I do not possess any of the 44 qualifications which I claim to have obtained, I will be expelled from the 45 University and shall not be re-admitted for the same or any other programme, 46 even if I have upgraded my previous qualifications or possess additional 47 qualifications. 48 </div> 49 <br /> 50 38 51 <input type="submit" class="standalone" 39 52 name="cpsdocument_edit_button" 40 53 value="Save & Return Later" 41 id="cpsdocument_edit_button" 42 tal:condition="python: review_state == 'clearance_pin_entered'" /> 54 id="cpsdocument_edit_button" /> 43 55 <input type="submit" class="standalone" 44 56 name="cpsdocument_edit_and_view_button" -
WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt
r894 r895 70 70 </span> 71 71 <form action="." method="post" class="group"> 72 <input type="submit" tal:condition="is_co" name="clearance_edit_form:method"72 <input type="submit" name="external_clearance_edit_form:method" 73 73 class="context" value="Continue" /> 74 74 </form> -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r805 r895 26 26 <strong tal:content="row/title" /></a> </td> 27 27 <td> 28 <a tal:condition=" row/is_editable"28 <a tal:condition="python: row['is_editable'] and row['type']!='StudentClearance'" 29 29 href="edit" tal:attributes="href string:${row/url}/external_edit_form" 30 30 target="edit" … … 32 32 [edit] 33 33 </a> 34 <a tal:condition="python: row['is_editable'] and row['type']=='StudentClearance'" 35 href="edit" tal:attributes="href string:${row/url}/external_clearance_edit_form" 36 target="edit" 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 [edit and change state] 39 </a> 34 40 </td> 35 41 </tr> -
WAeUP_SRP/trunk/skins/waeup_student/students_manager_view.pt
r894 r895 68 68 target="edit" 69 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>70 >[change state]</a></td> 71 71 72 72
Note: See TracChangeset for help on using the changeset viewer.