Changeset 837 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Nov 2006, 11:12:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r828 r837 95 95 return response.redirect("%s/application_edit" % student.absolute_url()) 96 96 elif info['review_state'] == "admitted": 97 return response.redirect("%s/admission_ accept_form" % student.absolute_url())97 return response.redirect("%s/admission_form" % student.absolute_url()) 98 98 elif info['review_state'] == "clearance_pin_entered": 99 return response.redirect("%s/clearance_edit" % student.absolute_url()) 99 return response.redirect("%s/clearance_edit" % student.absolute_url()) 100 100 return response.redirect("%s/student_index" % info['url']) 101 101 -
WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt
r826 r837 9 9 10 10 <div style="text-align: right" 11 tal:condition="python:review_state =='admission_applied'">12 <a href="" target="slip" tal:attributes="href string: application_slip"11 tal:condition="python:review_state in ('clearance_requested', 'cleared','clearance_pin_entered',)"> 12 <a href="" target="slip" tal:attributes="href string:clearance_slip" 13 13 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 14 14 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 15 ApplicationSlip15 Clearance/Eligibility Slip 16 16 </a> 17 17 -
WAeUP_SRP/trunk/skins/waeup_student/layout_clearance_view.pt
r805 r837 3 3 <metal:block define-macro="default_view" 4 4 tal:define="layout options/layout; 5 dm options/datastructure/getDataModel;6 5 widgets python:context.getRenderedWidgets(layout); 7 fields python:('')"6 fields_not_displayed python:('',)" 8 7 > 9 <table cellpadding="2" cellspacing="2" summary="layout"> 10 <tr> 11 <td><span class="dlabel">Student ID</span>: 12 </td> 13 <td> 14 <span tal:replace="python:here.aq_parent.aq_parent.id" /> 15 </td> 16 </tr> 17 <tr tal:repeat="field fields"> 18 <tal:block tal:define="cell python: widgets[field]"> 19 <tal:block define="widget cell/widget"> 20 <div tal:attributes="class cell/widget_css_class|string:label; 21 id python:widget.getHtmlWidgetId()+'_widget';"> 22 <td > 23 <span class="dlabel" 24 tal:condition="widget/label" 25 tal:content="widget/label">label</span>: 8 <table> 9 <span tal:repeat="row layout/rows"> 10 <span tal:repeat="cell row"> 11 <span tal:define="widget cell/widget" 12 tal:condition="python:cell['widget_id'] not in fields_not_displayed 13 and widget.meta_type!='Image Widget' "> 14 <div tal:omit-tag="" 15 tal:attributes="class cell/widget_css_class|nothing;"> 16 17 <tr tal:condition="widget/description|nothing" class="even ajaxtd"> 18 <th colspan="5" align="left"><h3 tal:replace="widget/description" /></th> 19 </tr> 20 <tr> 21 <tal:block condition="widget/label"> 22 <td valign="top" nowrap> 23 <span i18n:translate="" tal:condition="widget/is_i18n"> 24 <span tal:content="widget/label" />:</span> 25 <span tal:condition="not:widget/is_i18n"> 26 <span tal:content="widget/label" />:</span> 26 27 </td> 27 <td> 28 <span tal:replace="structure cell/widget_rendered" /> 28 </tal:block> 29 <tal:block condition="not: widget/label"> 30 <td> 31 <div valign="top"> no label </div> 29 32 </td> 30 </div> 31 </tal:block> 32 </tal:block> 33 </tr> 33 </tal:block> 34 <td> 35 <div class="ddescription" tal:condition="cell" tal:content="structure cell/widget_rendered"></div> 36 <div class="ddescription" tal:condition="not:cell/widget_rendered"> none </div> 37 </td> 38 </tr> 39 </div> 40 </span> 41 <span tal:define="widget cell/widget; 42 title_name string:${cell/widget_id}_filename;" 43 tal:condition="python:cell['widget_id'] not in fields_not_displayed 44 and widget.meta_type=='Image Widget' 45 and cell['widget_rendered']"> 46 <div tal:omit-tag="" 47 tal:attributes="class cell/widget_css_class|nothing;"> 48 <tr> 49 <td valign="top"><span tal:content="widget/title" />:</td> 50 <td> 51 <a href="" target="slip" tal:attributes="href widget/getWidgetId"> 52 <span tal:content="string: Hier sollte der Dateiname stehen." /> 53 </a> 54 55 56 </td> 57 </tr> 58 </div> 59 </span> 60 </span> 61 </span> 34 62 </table> 35 63 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt
r806 r837 53 53 <tr> 54 54 <td class="active"> 55 <a href="" tal:attributes="href string:${info/url}/admission_ accept_form">55 <a href="" tal:attributes="href string:${info/url}/admission_form"> 56 56 Admitted 57 57 </a> -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r805 r837 35 35 return redirect("%s/application_edit" % info['app'].absolute_url()) 36 36 elif state in ('admitted',): 37 return redirect("%s/admission_ accept_form" % student.absolute_url())37 return redirect("%s/admission_form" % student.absolute_url()) 38 38 elif state == 'clearance_pin_entered': 39 39 return redirect("%s/student_view" % info['clear'].absolute_url())
Note: See TracChangeset for help on using the changeset viewer.