Changeset 427
- Timestamp:
- 26 Aug 2006, 09:53:13 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r426 r427 101 101 d = {'Title': 'Personal Data'} 102 102 s.invokeFactory('StudentClearance','clearance') 103 sc = s. personal103 sc = s.clearance 104 104 dc = {'Title': 'Clearance Data'} 105 105 dc['matric_no'] = matric_no 106 106 dc['jamb_reg_no'] = student.get('EntryRegNo') 107 dc['lga'] = student.get('LGA') 107 lga = student.get('State') + ' / ' + student.get('LGA') 108 dc['lga'] = lga 108 109 dc['nationality'] = student.get('Nationality') 109 110 dc['email'] = student.get('Emailaddress') … … 113 114 d['former_surname'] = student.get('FormerSurname') 114 115 d['sex'] = student.get('Sex') == 'F' 115 d['for_state'] = student.get('State')116 d['for_lga'] = student.get('LGA')117 116 d['perm_address'] = student.get('PermanentAddress') 118 117 d['perm_city'] = student.get('PermanentAddressCity') -
WAeUP_SRP/trunk/profiles/default/schemas/student.xml
r199 r427 1 1 <?xml version="1.0"?> 2 2 <object name="student" meta_type="CPS Schema"> 3 <field name="accommodation" meta_type="CPS String Field">4 <property name="is_searchabletext">True</property>5 </field>6 <field name="accommodation_date" meta_type="CPS DateTime Field">7 <property name="acl_write_roles">SectionReader</property>8 </field>9 <field name="accommodation_sc_id" meta_type="CPS String Field">10 <property name="is_searchabletext">True</property>11 <property name="acl_write_roles">SectionReader</property>12 </field>13 <field name="accommodation_sc_pin" meta_type="CPS String Field">14 <property name="is_searchabletext">True</property>15 <property name="acl_write_roles">SectionReader</property>16 </field>17 <field name="accommodation_sc_value" meta_type="CPS Float Field">18 <property name="default_expr">python:0.</property>19 <property name="is_searchabletext">True</property>20 </field>21 <field name="adm_check_date" meta_type="CPS DateTime Field"/>22 <field name="adm_check_sc_id" meta_type="CPS String Field">23 <property name="is_searchabletext">True</property>24 <property name="acl_write_roles">SectionReader</property>25 </field>26 <field name="adm_check_sc_pin" meta_type="CPS String Field">27 <property name="is_searchabletext">True</property>28 <property name="acl_write_roles">SectionReader</property>29 </field>30 <field name="adm_check_sc_value" meta_type="CPS Float Field">31 <property name="default_expr">python:0.</property>32 <property name="is_searchabletext">True</property>33 </field>34 <field name="clearance_date" meta_type="CPS DateTime Field">35 <property name="acl_write_roles">SectionReader</property>36 </field>37 <field name="clearance_sc_id" meta_type="CPS String Field">38 <property name="is_searchabletext">True</property>39 <property name="acl_write_roles">SectionReader</property>40 </field>41 <field name="clearance_sc_pin" meta_type="CPS String Field">42 <property name="is_searchabletext">True</property>43 <property name="acl_write_roles">SectionReader</property>44 </field>45 <field name="clearance_sc_value" meta_type="CPS Float Field">46 <property name="default_expr">python:0.</property>47 <property name="is_searchabletext">True</property>48 </field>49 <field name="course" meta_type="CPS String Field">50 <property name="is_searchabletext">True</property>51 </field>52 <field name="faculty" meta_type="CPS String Field">53 <property name="is_searchabletext">True</property>54 </field>55 <field name="hostel_fee_date" meta_type="CPS DateTime Field">56 <property name="acl_write_roles">SectionReader</property>57 </field>58 <field name="hostel_fee_sc_id" meta_type="CPS String Field">59 <property name="is_searchabletext">True</property>60 <property name="acl_write_roles">SectionReader</property>61 </field>62 <field name="hostel_fee_sc_pin" meta_type="CPS String Field">63 <property name="is_searchabletext">True</property>64 <property name="acl_write_roles">SectionReader</property>65 </field>66 <field name="hostel_fee_sc_value" meta_type="CPS Float Field">67 <property name="default_expr">python:0.</property>68 <property name="is_searchabletext">True</property>69 </field>70 <field name="jamb_is_admitted" meta_type="CPS Boolean Field"/>71 3 </object> -
WAeUP_SRP/trunk/profiles/default/types/Student.xml
r407 r427 36 36 <property name="storage_methods"/> 37 37 <property name="cps_is_portlet">False</property> 38 <alias from="(Default)" to=" temporary_view_all"/>39 <alias from="view" to=" temporary_view_all"/>38 <alias from="(Default)" to="academics_contents"/> 39 <alias from="view" to="academics_contents"/> 40 40 <action title="Standard View" action_id="view" category="object" 41 41 condition_expr="python:object.getContent().memberIsOwner() or (member and 'UniversityManager'in member.getRoles())" … … 56 56 condition_expr="" url_expr="string:${object/absolute_url}/folder_contents" 57 57 visible="False"> 58 <permission value=" University Manage"/>58 <permission value="Modify portal content"/> 59 59 </action> 60 60 <action title="Personal Data" action_id="PERSONAL" category="object" … … 79 79 <permission value="Modify portal content"/> 80 80 </action> 81 <action title="Book Accom Modation" action_id="book_accommodation"81 <action title="Book Accomodation" action_id="book_accomodation" 82 82 category="object" 83 83 condition_expr="python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()" … … 96 96 <permission value="Modify portal content"/> 97 97 </action> 98 <action title="Book AccomModation" action_id="book_accommodation" 99 category="object" 100 condition_expr="python: object.getContent().memberIsOwner() and not object.getContent().accommodationIsBooked()" 101 url_expr="string:${object/absolute_url}/book_accommodation" 102 visible="True"> 103 <permission value="Modify portal content"/> 104 </action> 98 105 </object> -
WAeUP_SRP/trunk/profiles/default/types/StudentAdmission.xml
r421 r427 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentAdmission</property> 10 <property name="immediate_view"> temporary_view_all</property>10 <property name="immediate_view"></property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 22 22 </property> 23 23 <property name="layouts"> 24 <element value="common"/>25 24 <element value="student_admission"/> 26 25 </property> … … 39 38 <action title="action_edit" action_id="edit" category="object" 40 39 condition_expr="" 41 url_expr="string:${object_url}/student_admission_edit_form" visible="True"> 40 url_expr="string:${object_url}/student_admission_edit_form" 41 visible="True"> 42 42 <permission value="Modify portal content"/> 43 43 </action> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r426 r427 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentClearance</property> 10 <property name="immediate_view"> temporary_view_all</property>10 <property name="immediate_view"></property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 17 17 <property name="cps_display_as_document_in_listing">True</property> 18 18 <property name="schemas"> 19 <element value="metadata"/> 20 <element value="common"/> 19 21 <element value="student_clearance"/> 20 22 </property> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r426 r427 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentPersonal</property> 10 <property name="immediate_view"> temporary_view_all</property>10 <property name="immediate_view"></property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 22 22 </property> 23 23 <property name="layouts"> 24 <element value="common"/>25 24 <element value="student_personal"/> 26 25 </property> … … 33 32 <alias from="(Default)" to="cpsdocument_view"/> 34 33 <alias from="view" to="cpsdocument_view"/> 35 <action title="Standard View" action_id="view" category="object" condition_expr="" 36 url_expr="string:${object_url}/cpsdocument_view" visible="True"> 34 <action title="Standard View" action_id="view" category="object" 35 condition_expr="" url_expr="string:${object_url}/cpsdocument_view" 36 visible="True"> 37 37 <permission value="View"/> 38 38 </action> 39 39 <action title="action_edit" action_id="edit" category="object" 40 condition_expr="" 41 url_expr="string:${object_url}/cpsdocument_edit_form"visible="True">40 condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" 41 visible="True"> 42 42 <permission value="Modify portal content"/> 43 43 </action> -
WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml
r425 r427 21 21 <element value="metadata"/> 22 22 <element value="common"/> 23 <element value=" folder"/>23 <element value="students"/> 24 24 </property> 25 <property name="layouts"> 26 <element value="common"/> 27 </property> 25 <property name="layouts"/> 28 26 <property name="layout_clusters"> 29 27 <element value="metadata:metadata"/> … … 36 34 <action title="View" action_id="view" category="object" condition_expr="" 37 35 url_expr="string:${object_url}/academics_contents" visible="True"> 36 <permission value="View"/> 37 </action> 38 <action title="Add JAMB Data" action_id="add_jamb" category="object" 39 condition_expr="" url_expr="string:${object/absolute_url}/create_jamb" 40 visible="False"/> 41 <action title="Check Admission Status" action_id="check_admission" 42 category="object" 43 condition_expr="object/portal_membership/isAnonymousUser" 44 url_expr="string:${object/absolute_url}/check_admission" visible="False"> 38 45 <permission value="View"/> 39 46 </action> -
WAeUP_SRP/trunk/profiles/default/workflows.xml
r422 r427 67 67 </type> 68 68 <type type_id="StudentClearance"> 69 <bound-workflow workflow_id=" section_folder_wf"/>69 <bound-workflow workflow_id="waeup_base_wf"/> 70 70 </type> 71 71 <type type_id="StudentAdmission"> … … 76 76 </type> 77 77 <type type_id="StudentStudyCourse"> 78 <bound-workflow workflow_id=" section_folder_wf"/>78 <bound-workflow workflow_id="waeup_base_wf"/> 79 79 </type> 80 80 <type type_id="StudentsFolder">
Note: See TracChangeset for help on using the changeset viewer.