Changeset 803 for WAeUP_SRP/trunk/skins
- Timestamp:
- 9 Nov 2006, 08:19:43 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r796 r803 53 53 if info['review_state'] in ("student_created","admitted"): 54 54 #student.content_status_modify(workflow_action="enter_clearance_pin") 55 wftool.doActionFor(info['app'],'open',dest_container=info['app']) 55 wftool.doActionFor(info['app'],'open') 56 #wftool.doActionFor(info['pume'],'close') 56 57 if info['pume'] is not None: 57 wftool.doActionFor(info['pume'],'close' ,dest_container=info['pume'])58 wftool.doActionFor(info['pume'],'close') 58 59 da = {} 59 60 pin = request.get('pin') -
WAeUP_SRP/trunk/skins/waeup_student/application_edit_form.pt
r796 r803 1 1 <metal:html tal:define="info context/getStudentInfo; 2 rendered_main python:info['app_doc'].render( layout_mode='edit',3 proceed = request.get('proceed'),2 rendered_main python:info['app_doc'].render( 3 layout_mode='edit', 4 4 schema_id = 'student_application', 5 5 layout_id = 'student_application_fe', 6 request=request, proxy=info['app'], 7 use_session=True, no_form=True)"> 6 request=request, 7 use_session=True,); 8 form_action string:application_edit; 9 proceed request/proceed|nothing; 10 edition python:True; 11 creation python:False; 12 metadata nothing; 13 "> 8 14 <metal:body use-macro="here/waeup_content_master/macros/master"> 9 10 15 <metal:block fill-slot="header"> 11 16 <a href="" … … 19 24 20 25 <metal:main fill-slot="main"> 26 <form action="ACTION" method="post" id="editForm" 27 enctype="multipart/form-data" class="workflow" 28 tal:attributes="action form_action"> 21 29 <span tal:condition="not: info"> 22 30 <metal:block use-macro="here/error_not_found/macros/not_found" /> … … 25 33 <span tal:omit-tag="" tal:replace="structure rendered_main"/> 26 34 </span> 35 <input type="submit" class="standalone" name="cpsdocument_edit_button" 36 value="Save" 37 id="cpsdocument_edit_button" 38 tal:condition="not:creation" /> 39 <input type="submit" class="standalone" name="proceed" 40 value="proceed" 41 id="cpsdocument_edit_and_view_button" 42 tal:condition="proceed" 43 tal:attributes="value proceed"/> 44 </form> 27 45 </metal:main> 28 46 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/defer_admission.py
r801 r803 24 24 info['app_doc'].edit(mapping={'defer_date':current,}) 25 25 wf.doActionFor(info['student'],'defer') 26 return context.defer _view(info=info)26 return context.defersvn_view(info=info) -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r801 r803 95 95 96 96 items = [] 97 s_edit_links = {'StudentApplication': 'application_edit ',97 s_edit_links = {'StudentApplication': 'application_edit_form', 98 98 'StudentAccommodation': '', 99 'StudentClearance': 'clearance_edit ',99 'StudentClearance': 'clearance_edit_form', 100 100 'StudentPersonal': '', 101 101 } -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt
r799 r803 15 15 widgets python:context.getRenderedWidgets(layout); 16 16 "> 17 <form action="" id="editForm" method="post"18 enctype="multipart/form-data" class="workflow"19 tal:attributes="action formaction"20 >21 17 <table class="layoutDefault" summary="Form layout" 22 18 tal:condition="layout/rows"> … … 116 112 </tr> 117 113 </table> 118 <br />119 <input type="submit" class="standalone" name="cpsdocument_edit_button"120 value="Save"121 id="cpsdocument_edit_button"122 tal:condition="not:creation" />123 <input type="submit" class="standalone" name="proceed"124 value="proceed"125 id="cpsdocument_edit_and_view_button"126 tal:condition="proceed"127 tal:attributes="value proceed"/>128 <input type="submit"129 class="standalone"130 name="cpsdocument_create_button"131 value="apply"132 tal:attributes="value options/button"133 tal:condition="creation" />134 135 </form>136 114 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.