Changeset 1275 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Jan 2007, 20:53:09 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt
r1270 r1275 34 34 <a href="download" 35 35 tal:attributes="href string:hall_allocation_list"> 36 <strong>Download bedlist as csv </strong></a>36 <strong>Download bedlist as csv file</strong></a> 37 37 </div> 38 38 <br /> … … 40 40 tal:define="reserved info/reserved"> 41 41 <tr> 42 <th width=" 50px">Student-Id</th>42 <th width="100px">Student Id</th> 43 43 <th width="300px">Name</th> 44 44 <th width="200px">Bed</th> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r1096 r1275 1 1 <metal:block define-macro="clearance_edit_form"> 2 <metal:block tal:define="info context/getClearanceInfo"> 3 <span tal:condition="not: info"> 4 <span tal:content="here/illegal_view" /> 5 </span> 6 <metal:block tal:condition="info"> 7 <tal:block define=" 8 is_so context/isSectionOfficer; 9 is_staff context/isStaff; 10 is_co context/isClearanceOfficer; 11 is_student context/isStudent; 12 review_state info/review_state; 13 clear_review_state info/clear_review_state; 14 editable python:not is_co and (is_student and clear_review_state == 'opened' or is_so); 15 mode python: test(editable,'edit','view'); 16 layout_id python: test(is_so,'student_clearance','student_clearance_fe'); 17 rendered_main python:info['clear_doc'].render(request=request, 18 layout_mode = mode, 19 schema_id='student_clearance', 20 layout_id=layout_id, 21 use_session=True); 22 form_action string:clearance_edit; 23 creation python:False; 24 "> 25 <metal:block use-macro="here/waeup_content_master/macros/master"> 26 <metal:block fill-slot="header"> 2 <metal:block use-macro="here/waeup_content_master/macros/master"> 3 <metal:header fill-slot="header" 4 tal:define=" 5 is_student context/isStudent; 6 is_staff context/isStaff; 7 is_so context/isSectionOfficer; 8 info context/getClearanceInfo;"> 27 9 <metal:block use-macro="here/clearance_edit_lib/macros/header" /> 28 </metal:block> 29 <metal:block fill-slot="main"> 10 </metal:header> 11 <metal:main fill-slot="main" 12 tal:define=" 13 info context/getClearanceInfo; 14 is_so context/isSectionOfficer; 15 is_staff context/isStaff; 16 is_co context/isClearanceOfficer; 17 is_student context/isStudent; 18 review_state info/review_state; 19 clear_review_state info/clear_review_state; 20 editable python:not is_co and (is_student and clear_review_state == 'opened' or is_so); 21 mode python: test(editable,'edit','view'); 22 layout_id python: test(is_so,'student_clearance','student_clearance_fe'); 23 rendered_main python:info['clear_doc'].render(request=request, 24 layout_mode = mode, 25 schema_id='student_clearance', 26 layout_id=layout_id, 27 use_session=True); 28 form_action string:clearance_edit; 29 creation python:False;"> 30 30 31 <form action="ACTION" method="post" id="editForm" 31 32 enctype="multipart/form-data" class="workflow" … … 46 47 ajax feedback 47 48 </div> 48 </metal:block> 49 </metal:block> 50 </tal:block> 49 </metal:main> 50 </metal:block> 51 51 </metal:block> 52 </metal:block>53 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt
r1233 r1275 1 <metal:html tal:define="info context/getClearanceInfo; 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getClearanceInfo; 2 4 is_so context/isSectionOfficer; 3 5 is_student context/isStudent; 4 6 "> 5 <span tal:condition="not: info">6 <span tal:content="here/illegal_view" />7 </span>8 <metal:block tal:condition="info">9 <metal:body use-macro="here/waeup_content_master/macros/master">10 <metal:main fill-slot="main">11 7 <span tal:condition="not: info"> 12 8 <metal:block use-macro="here/error_not_found/macros/not_found" /> … … 43 39 </span> 44 40 </metal:main> 45 </metal:body> 46 </metal:block> 47 </metal:html> 41 </metal:body>
Note: See TracChangeset for help on using the changeset viewer.