Changeset 837 for WAeUP_SRP/trunk
- Timestamp:
- 11 Nov 2006, 11:12:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml
r826 r837 49 49 <property name="label_edit">Acknowledgement</property> 50 50 <property 51 name="help">I hereby acknowledge by ticking this check box that if it is discovered at any time that i do not possess any of the qualifications which i claim to have obtained, i will be expelled from the University and shall not be re-admitted for the same or any other programme, even if i have upgraded my previous qualifications or possess additional qualifications.</property> 52 <property name="readonly_layout_modes"/> 53 <property name="hidden_layout_modes"> 54 <element value="create"/> 55 </property> 56 <property name="hidden_readonly_layout_modes"/> 51 name="description">I hereby acknowledge by ticking this check box that if it is discovered at any time that i do not possess any of the qualifications which i claim to have obtained, i will be expelled from the University and shall not be re-admitted for the same or any other programme, even if i have upgraded my previous qualifications or possess additional qualifications.</property> 52 <property name="readonly_layout_modes"/> 53 <property name="hidden_layout_modes"> 54 <element value="create"/> 55 </property> 56 <property name="hidden_readonly_layout_modes"/> 57 <property name="render_format">checkbox</property> 57 58 </widget> 58 59 <widget name="age_dec" meta_type="Image Widget"> … … 93 94 <property name="label">Fullname</property> 94 95 <property name="label_edit">Fullname</property> 96 <property name="description">Advanced Level Data</property> 95 97 <property 96 98 name="help">Fullname as it appears on certificate/result</property> … … 114 116 <property name="hidden_readonly_layout_modes"/> 115 117 </widget> 118 <widget name="alr_results" meta_type="WAeUp Results Widget"> 119 <property name="title">Results</property> 120 <property name="fields"> 121 <element value="alr_results"/> 122 </property> 123 <property name="label">Results</property> 124 <property name="label_edit">Results</property> 125 <property name="hidden_layout_modes"> 126 <element value="create"/> 127 </property> 128 <property name="hidden_readonly_layout_modes"/> 129 </widget> 116 130 <widget name="alr_scan" meta_type="Image Widget"> 117 131 <property name="title">Scan of Advanced Level Result</property> … … 138 152 <property name="label">Birth Certificate</property> 139 153 <property name="label_edit">Birth Certificate</property> 154 <property name="description">Other Documents</property> 140 155 <property name="readonly_layout_modes"/> 141 156 <property name="hidden_layout_modes"> … … 223 238 </property> 224 239 <property name="hidden_readonly_layout_modes"/> 240 <property name="render_format">radio</property> 225 241 </widget> 226 242 <widget name="entry_date" meta_type="Date Widget"> … … 231 247 <property name="label">Entry Date</property> 232 248 <property name="label_edit">Entry Date</property> 233 <property name="readonly_layout_modes"/> 249 <property name="readonly_layout_modes"> 250 <element value="edit"/> 251 </property> 234 252 <property name="hidden_layout_modes"> 235 253 <element value="create"/> … … 244 262 <property name="label">Entry Session</property> 245 263 <property name="label_edit">Entry Session</property> 246 <property name="readonly_layout_modes"/> 264 <property name="readonly_layout_modes"> 265 <element value="edit"/> 266 </property> 247 267 <property name="hidden_layout_modes"> 248 268 <element value="create"/> … … 300 320 <property name="label">Fullname</property> 301 321 <property name="label_edit">Fullname</property> 322 <property name="description">First Sitting Data</property> 302 323 <property 303 324 name="help">Fullname as it appears on certificate/result</property> … … 321 342 <property name="hidden_readonly_layout_modes"/> 322 343 </widget> 344 <widget name="fst_sit_results" meta_type="WAeUp Results Widget"> 345 <property name="title">Results</property> 346 <property name="fields"> 347 <element value="fst_sit_results"/> 348 </property> 349 <property name="label">Results</property> 350 <property name="label_edit">Results</property> 351 <property name="readonly_layout_modes"/> 352 <property name="hidden_layout_modes"> 353 <element value="create"/> 354 </property> 355 <property name="hidden_readonly_layout_modes"/> 356 </widget> 323 357 <widget name="fst_sit_scan" meta_type="Image Widget"> 324 358 <property name="title">Scan of First Sitting Result</property> … … 442 476 <property name="label">Higher Qualification</property> 443 477 <property name="label_edit">Higher Qualification</property> 478 <property name="description">Higher Qualification Data</property> 444 479 <property name="readonly_layout_modes"/> 445 480 <property name="hidden_layout_modes"> … … 521 556 <property name="label">Matriculation Number</property> 522 557 <property name="label_edit">Matriculation Number</property> 523 <property name="readonly_layout_modes"/> 558 <property name="readonly_layout_modes"> 559 <element value="edit"/> 560 </property> 524 561 <property name="hidden_layout_modes"> 525 562 <element value="create"/> … … 597 634 <property name="label">Fullname</property> 598 635 <property name="label_edit">Fullname</property> 636 <property name="description">Second Sitting Data</property> 599 637 <property 600 638 name="help">Fullname as it appears on certificate/result</property> … … 618 656 <property name="hidden_readonly_layout_modes"/> 619 657 </widget> 658 <widget name="scd_sit_results" meta_type="WAeUp Results Widget"> 659 <property name="title">Results</property> 660 <property name="fields"> 661 <element value="scd_sit_results"/> 662 </property> 663 <property name="label">Results</property> 664 <property name="label_edit">Results</property> 665 <property name="readonly_layout_modes"/> 666 <property name="hidden_layout_modes"> 667 <element value="create"/> 668 </property> 669 <property name="hidden_readonly_layout_modes"/> 670 </widget> 620 671 <widget name="scd_sit_scan" meta_type="Image Widget"> 621 672 <property name="title">Scan of Second Sitting Result</property> … … 678 729 </property> 679 730 <property name="hidden_readonly_layout_modes"/> 731 <property name="render_format">radio</property> 680 732 </widget> 681 733 <table> … … 714 766 </row> 715 767 <row> 768 <cell name="fst_sit_results"/> 769 </row> 770 <row> 716 771 <cell name="fst_sit_scan"/> 717 772 </row> … … 729 784 </row> 730 785 <row> 786 <cell name="scd_sit_results"/> 787 </row> 788 <row> 731 789 <cell name="scd_sit_scan"/> 732 790 </row> … … 739 797 <row> 740 798 <cell name="alr_date"/> 799 </row> 800 <row> 801 <cell name="alr_results"/> 741 802 </row> 742 803 <row> -
WAeUP_SRP/trunk/profiles/default/themes.xml
r805 r837 11 11 <element key="accommodation_slip" value="WAeUP_Student+Slippage"/> 12 12 <element key="pume_slip" value="WAeUP_Student+Slippage"/> 13 <element key="pume_anon_slip" value="WAeUP_Student+Slippage"/> 13 <element key="pume_anon_slip" value="WAeUP_Student+Slippage"/> 14 <element key="admission_slip" value="WAeUP_Student+Slippage"/> 15 <element key="clearance_anon_slip" value="WAeUP_Student+Slippage"/> 14 16 </property> 15 17 <object name="default" meta_type="Portal Theme"/> -
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.