- Timestamp:
- 29 Oct 2006, 05:24:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 1 deleted
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/scratch_card_batch.xml
r544 r770 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ default_</property>6 <property name="style_prefix">layout_waeup_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> -
WAeUP_SRP/trunk/profiles/default/layouts/student_application.xml
r745 r770 49 49 <property name="hidden_readonly_layout_modes"/> 50 50 </widget> 51 <widget name="app l_email" meta_type="Email Widget">51 <widget name="app_email" meta_type="Email Widget"> 52 52 <property name="is_required">False</property> 53 53 <property name="title">Email Address</property> 54 54 <property name="fields"> 55 <element value="app l_email"/>55 <element value="app_email"/> 56 56 </property> 57 57 <property name="label">Email Address</property> … … 63 63 <property name="hidden_readonly_layout_modes"/> 64 64 </widget> 65 <widget name="app l_mobile" meta_type="String Widget">65 <widget name="app_mobile" meta_type="String Widget"> 66 66 <property name="title">Mobile Phone No</property> 67 67 <property name="fields"> 68 <element value="app l_mobile"/>68 <element value="app_mobile"/> 69 69 </property> 70 70 <property name="label">Mobile Phone No</property> … … 259 259 </row> 260 260 <row> 261 <cell name="app l_email" ncols="3"/>262 </row> 263 <row> 264 <cell name="app l_mobile" ncols="3"/>261 <cell name="app_email" ncols="3"/> 262 </row> 263 <row> 264 <cell name="app_mobile" ncols="3"/> 265 265 </row> 266 266 <row> -
WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml
r766 r770 24 24 </widget> 25 25 <widget name="app_ac_pin" meta_type="Scratchcard Pin Widget"> 26 <property name="title">A pplication PIN</property>26 <property name="title">Access Code</property> 27 27 <property name="fields"> 28 28 <element value="app_ac_pin"/> … … 30 30 <property name="is_required">True</property> 31 31 <property name="label">Access Code</property> 32 <property name="label_edit">A pplication PIN</property>32 <property name="label_edit">Access Code</property> 33 33 <property name="readonly_layout_modes"> 34 34 <element value="edit"/> … … 54 54 <property name="hidden_readonly_layout_modes"/> 55 55 </widget> 56 <widget name="app l_email" meta_type="Email Widget">56 <widget name="app_email" meta_type="Email Widget"> 57 57 <property name="title">Email Address</property> 58 58 <property name="fields"> 59 <element value="app l_email"/>59 <element value="app_email"/> 60 60 </property> 61 61 <property name="label">Email Address</property> … … 67 67 <property name="hidden_readonly_layout_modes"/> 68 68 </widget> 69 <widget name="app l_mobile" meta_type="String Widget">69 <widget name="app_mobile" meta_type="String Widget"> 70 70 <property name="title">Mobile Phone No</property> 71 71 <property name="fields"> 72 <element value="app l_mobile"/>72 <element value="app_mobile"/> 73 73 </property> 74 74 <property name="label">Mobile Phone No</property> … … 234 234 </row> 235 235 <row> 236 <cell name="app l_email" ncols="3"/>237 </row> 238 <row> 239 <cell name="app l_mobile" ncols="3"/>236 <cell name="app_email" ncols="3"/> 237 </row> 238 <row> 239 <cell name="app_mobile" ncols="3"/> 240 240 </row> 241 241 <row> -
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance.xml
r488 r770 497 497 <property name="vocabulary">states</property> 498 498 </widget> 499 <widget name="passport" meta_type="Image Widget">500 <property name="title">Passport</property>501 <property name="fields">502 <element value="passport"/>503 </property>504 <property name="label">Passport</property>505 <property name="label_edit">Passport</property>506 <property name="readonly_layout_modes"/>507 <property name="hidden_layout_modes"/>508 <property name="hidden_readonly_layout_modes"/>509 <property name="size_max">204800</property>510 <property name="display_width">300</property>511 <property name="display_height">600</property>512 <property name="allow_resize">True</property>513 </widget>514 499 <widget name="ref_let" meta_type="Image Widget"> 515 500 <property name="title">Referee Letter</property> … … 759 744 </row> 760 745 <row> 761 <cell name="passport"/>762 </row>763 <row>764 746 <cell name="jamb_let"/> 765 747 </row> -
WAeUP_SRP/trunk/profiles/default/layouts/student_clearance_fe.xml
r766 r770 498 498 <property name="vocabulary">states</property> 499 499 </widget> 500 <widget name="passport" meta_type="Image Widget">501 <property name="title">Passport</property>502 <property name="fields">503 <element value="passport"/>504 </property>505 <property name="label">Passport</property>506 <property name="label_edit">Passport</property>507 <property name="readonly_layout_modes"/>508 <property name="hidden_layout_modes"/>509 <property name="hidden_readonly_layout_modes"/>510 <property name="size_max">204800</property>511 <property name="display_width">300</property>512 <property name="display_height">600</property>513 <property name="allow_resize">True</property>514 </widget>515 500 <widget name="ref_let" meta_type="Image Widget"> 516 501 <property name="title">Referee Letter</property> … … 667 652 </row> 668 653 <row> 669 <cell name="passport"/>670 </row>671 <row>672 654 <cell name="lga"/> 673 655 </row> -
WAeUP_SRP/trunk/profiles/default/layouts/student_pume.xml
r764 r770 8 8 <property name="validate_values_expr"></property> 9 9 10 <widget name="pume_eng_score" meta_type=" StringWidget">10 <widget name="pume_eng_score" meta_type="Float Widget"> 11 11 <property name="title">PUME English Score</property> 12 12 <property name="fields"> … … 20 20 <property name="hidden_readonly_layout_modes"/> 21 21 </widget> 22 <widget name="pume_gen_score" meta_type=" StringWidget">22 <widget name="pume_gen_score" meta_type="Float Widget"> 23 23 <property name="title">PUME General Score</property> 24 24 <property name="fields"> … … 32 32 <property name="hidden_readonly_layout_modes"/> 33 33 </widget> 34 <widget name="pume_math_score" meta_type=" StringWidget">34 <widget name="pume_math_score" meta_type="Float Widget"> 35 35 <property name="title">PUME Mathematics Score</property> 36 36 <property name="fields"> … … 44 44 <property name="hidden_readonly_layout_modes"/> 45 45 </widget> 46 <widget name="pume_tot_score" meta_type=" StringWidget">46 <widget name="pume_tot_score" meta_type="Float Widget"> 47 47 <property name="title">PUME Total Score</property> 48 48 <property name="fields"> -
WAeUP_SRP/trunk/profiles/default/schemas/student_application.xml
r752 r770 3 3 <field name="app_ac_date" meta_type="CPS DateTime Field"/> 4 4 <field name="app_ac_pin" meta_type="CPS String Field"/> 5 <field name="app l_email" meta_type="CPS String Field"/>6 <field name="app l_mobile" meta_type="CPS String Field"/>5 <field name="app_email" meta_type="CPS String Field"/> 6 <field name="app_mobile" meta_type="CPS String Field"/> 7 7 <field name="entry_mode" meta_type="CPS String Field"/> 8 8 <field name="jamb_age" meta_type="CPS Int Field"/> -
WAeUP_SRP/trunk/profiles/default/schemas/student_clearance.xml
r752 r770 51 51 <field name="cert" meta_type="CPS Image Field"/> 52 52 <field name="evid" meta_type="CPS Image Field"/> 53 <field name="passport" meta_type="CPS Image Field"/>54 53 <field name="jamb_let" meta_type="CPS Image Field"/> 55 54 <field name="res_stat" meta_type="CPS Image Field"/> -
WAeUP_SRP/trunk/profiles/default/schemas/student_pume.xml
r764 r770 1 1 <?xml version="1.0"?> 2 2 <object name="student_pume" meta_type="CPS Schema"> 3 <field name="pume_eng_score" meta_type="CPS StringField"/>4 <field name="pume_gen_score" meta_type="CPS StringField"/>5 <field name="pume_math_score" meta_type="CPS StringField"/>6 <field name="pume_tot_score" meta_type="CPS StringField"/>3 <field name="pume_eng_score" meta_type="CPS Float Field"/> 4 <field name="pume_gen_score" meta_type="CPS Float Field"/> 5 <field name="pume_math_score" meta_type="CPS Float Field"/> 6 <field name="pume_tot_score" meta_type="CPS Float Field"/> 7 7 </object> -
WAeUP_SRP/trunk/profiles/default/types/ScratchCardBatch.xml
r695 r770 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addScratchCardBatch</property> 10 <property name="immediate_view"> folder_view</property>10 <property name="immediate_view">batch_view</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml
r730 r770 9 9 <state state_id="closed" title=""> 10 10 <exit-transition transition_id="open"/> 11 <exit-transition transition_id="publish"/> 11 12 </state> 12 13 <state state_id="content_addable" title=""> … … 51 52 acquired="True"> 52 53 <permission-role>Owner</permission-role> 54 </permission-map> 55 </state> 56 <state state_id="public" title=""> 57 <exit-transition transition_id="close"/> 58 <permission-map name="Add portal content" acquired="True"> 59 </permission-map> 60 <permission-map name="Modify portal content" 61 acquired="True"> 62 </permission-map> 63 <permission-map name="View" acquired="True"> 64 <permission-role>Anonymous</permission-role> 53 65 </permission-map> 54 66 </state> … … 97 109 </guard> 98 110 </transition> 111 <transition transition_id="publish" title="" 112 new_state="public" trigger="USER" 113 before_script="" after_script=""> 114 115 <guard> 116 <guard-role>Manager</guard-role> 117 <guard-role>SectionManager</guard-role> 118 </guard> 119 </transition> 99 120 </cps-workflow> -
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r767 r770 87 87 member.setProperties(last_login_time=current,login_time=current) 88 88 if info['review_state'] == "application_pin_entered": 89 return response.redirect("%s/passport_entry_view" % student.absolute_url()) 89 return response.redirect("%s/application_edit" % student.absolute_url()) 90 elif info['review_state'] == "clearance_pin_entered": 91 return response.redirect("%s/clearance_edit" % student.absolute_url()) 90 92 return response.redirect("%s/student_index" % info['url']) 91 93 -
WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_lib.pt
r617 r770 50 50 <tal:block condition="not: widget/label"> 51 51 <td> 52 <div valign="top" width=30%> no label </div>52 <div valign="top"> no label </div> 53 53 </td> 54 54 </tal:block> -
WAeUP_SRP/trunk/skins/waeup_default/portlet_waeup_status_display.pt
r753 r770 6 6 'admission_applied', 7 7 'cleared_and_validated', 8 'admitted', 9 'clearance_pin_entered', 8 10 'category_A', 9 11 'category_B', -
WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt
r711 r770 22 22 /> 23 23 <br /> 24 24 25 <h3>Unused</h3> 25 26 <table> 26 27 <tr tal:repeat="pin info/unused"> 27 <td tal:content="pin/serial" />28 <td width="50px"> <span tal:content="pin/serial" />: </td> 28 29 <td tal:content="pin/pin" /> 29 30 </tr> 30 31 </table> 32 31 33 <h3>Used</h3> 32 34 <table> 33 35 <tr tal:repeat="pin info/used"> 34 <td tal:content="pin/serial" />36 <td width="50px"> <span tal:content="pin/serial" />: </td> 35 37 <td tal:content="pin/pin" /> 36 38 <td> -
WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py
r710 r770 29 29 30 30 for item in used: 31 if bd.prefix == "APP": 32 jno = item['student'] 33 res = context.portal_catalog(SearchableText=jno,portal_type='StudentApplication') 31 sno = item['student'] 32 if len(sno)==10: 33 #if bd.prefix == "APP": 34 res = context.portal_catalog(SearchableText=sno,portal_type='StudentApplication') 34 35 if len(res) > 0: 35 36 item['student_url'] = "%s/%s" % (context.portal_url(),res[0].relative_path) -
WAeUP_SRP/trunk/skins/waeup_student/application_view.pt
r680 r770 9 9 10 10 <div style="text-align: right" 11 tal:condition="python:review_state =='admission_applied'">11 tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)"> 12 12 <a href="" target="slip" tal:attributes="href string:application_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')"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.pt
r769 r770 16 16 <metal:block fill-slot="header"> 17 17 <h3> 18 <tal:block condition="python: edition and not metadata" 19 i18n:translate="">Edit <span id="page_title" i18n:name="title" 20 tal:content="here/title_or_id">Page Title</span></tal:block> 18 Edit your Clearance Data! 21 19 </h3> 22 20 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r768 r770 68 68 else: 69 69 info['clear'] = None 70 70 71 71 res = context.portal_catalog(container_path=student_path, 72 72 portal_type='StudentPume') … … 77 77 info['pume_review_state'] = wf.getInfoFor(pume,'review_state',None) 78 78 else: 79 info['pume'] = None 79 info['pume'] = None 80 80 81 81 items = [] 82 s_edit_links = {'StudentApplication': ' student_edit',82 s_edit_links = {'StudentApplication': 'application_edit', 83 83 'StudentAccommodation': '', 84 84 'StudentClearance': 'clearance_edit', 85 85 'StudentPersonal': '', 86 86 } 87 s_view_links = {'StudentApplication': None,87 s_view_links = {'StudentApplication': 'application_view', 88 88 'StudentAccommodation': 'accommodation_view', 89 89 'StudentClearance': 'clearance_view', 90 90 'StudentPersonal': None, 91 'StudentApplication': 'application_view',92 91 'StudentStudyCourse': 'study_course_view', 93 92 'StudentPume': 'pume_view', … … 110 109 row['s_edit_link'] = "%s/%s" % (soo.absolute_url(),se_link) 111 110 row['review_state'] = so.review_state 112 row['display'] = so.review_state in ('opened','closed', ) or\111 row['display'] = so.review_state in ('opened','closed','public',) or\ 113 112 so.portal_type in ("StudentAccommodation","StudentStudyCourse") 114 113 items.append(row) -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view.pt
r613 r770 8 8 'app_ac_pin', 9 9 'app_ac_date', 10 'app_email', 11 'app_mobile', 10 12 'jamb_lastname', 11 13 'jamb_sex', -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_info.pt
r669 r770 5 5 dm options/datastructure/getDataModel; 6 6 widgets python:context.getRenderedWidgets(layout); 7 fields python:('jamb_lastname','jamb_sex', )"7 fields python:('jamb_lastname','jamb_sex','app_email','app_mobile')" 8 8 > 9 9 -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_slip.pt
r712 r770 8 8 'app_ac_pin', 9 9 'app_ac_date', 10 'app_email', 11 'app_mobile', 10 12 'jamb_lastname', 11 13 'jamb_sex', -
WAeUP_SRP/trunk/skins/waeup_student/student_edit.py
r767 r770 41 41 layout_mode = 'edit', 42 42 use_session=True) 43 action = "/ passport_entry_view"43 action = "/application_edit" 44 44 if is_valid: 45 45 if app_doc.passport is not None: … … 58 58 layout_mode = 'edit', 59 59 use_session=True) 60 action = "/ passport_entry_view"60 action = "/application_edit" 61 61 if is_valid: 62 62 args = {} … … 82 82 app_doc = info['app_doc'] 83 83 dc = {} 84 dc['email'] = app_doc.appl_email 85 dc['mobil'] = app_doc.appl_mobile 84 dc['email'] = app_doc.app_email 86 85 info['clear_doc'].edit(mapping = dc) 87 86 wftool.doActionFor(app,'close',dest_container= app) 88 87 psm = 'You successfully started the clearance process.' 89 action = "/clearance_ view"88 action = "/clearance_edit" 90 89 else: 91 90 action = "/clearance_view" -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r767 r770 33 33 return redirect("%s/application_view" % student.absolute_url()) 34 34 elif state in ('application_pin_entered','admitted'): 35 return redirect("%s/ passport_entry_view" % student.absolute_url())35 return redirect("%s/application_edit" % student.absolute_url()) 36 36 elif state == 'clearance_pin_entered': 37 37 return redirect("%s/student_view" % info['clear'].absolute_url())
Note: See TracChangeset for help on using the changeset viewer.