Ignore:
Timestamp:
29 Aug 2006, 16:17:25 (18 years ago)
Author:
Henrik Bettermann
Message:

layout, types and schema corrections

Location:
WAeUP_SRP/trunk/profiles/default
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts.xml

    r421 r444  
    1616 <object name="student_study_course" meta_type="CPS Layout"/>
    1717 <object name="student_admission" meta_type="CPS Layout"/>
     18 <object name="student_admission_fe" meta_type="CPS Layout"/>
    1819 <object name="student_clearance" meta_type="CPS Layout"/>
     20 <object name="student_clearance_fe" meta_type="CPS Layout"/>
    1921 <object name="student_course_results" meta_type="CPS Layout"/>
    2022 <object name="student_personal" meta_type="CPS Layout"/>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_admission.xml

    r434 r444  
    3232   <element value="jamb_reg_no"/>
    3333  </property>
    34   <property name="is_required">True</property>
     34  <property name="is_required">False</property>
    3535  <property name="label">JAMB Registration Number</property>
    3636  <property name="label_edit">JAMB Registration Number</property>
     
    4747   <element value="jamb_firstname"/>
    4848  </property>
    49   <property name="is_required">True</property>
     49  <property name="is_required">False</property>
    5050  <property name="label">JAMB First Name</property>
    5151  <property name="label_edit">JAMB First Name</property>
     
    259259  </row>
    260260  <row>
    261    <cell name="jamb_id"/>
     261   <cell name="jamb_reg_no"/>
    262262  </row>
    263263  <row>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_admission_fe.xml

    r434 r444  
    3030   <element value="jamb_reg_no"/>
    3131  </property>
    32   <property name="is_required">True</property>
     32  <property name="is_required">False</property>
    3333  <property name="label">JAMB Registration Number</property>
    3434  <property name="label_edit">JAMB Registration Number</property>
     
    4747   <element value="jamb_firstname"/>
    4848  </property>
    49   <property name="is_required">True</property>
     49  <property name="is_required">False</property>
    5050  <property name="label">JAMB First Name</property>
    5151  <property name="label_edit">JAMB First Name</property>
     
    293293  </row>
    294294  <row>
    295    <cell name="jamb_id"/>
     295   <cell name="jamb_reg_no"/>
    296296  </row>
    297297  <row>
  • WAeUP_SRP/trunk/profiles/default/schemas.xml

    r421 r444  
    1414 <object name="student" meta_type="CPS Schema"/>
    1515 <object name="student_study_course" meta_type="CPS Schema"/>
     16 <object name="scratch_card_batch.xml" meta_type="CPS Schema"/>
    1617 <object name="student_accommodation" meta_type="CPS Schema"/>
    1718 <object name="student_admission" meta_type="CPS Schema"/>
  • WAeUP_SRP/trunk/profiles/default/types.xml

    r443 r444  
    1313 <object name="Department" meta_type="CPS Flexible Type Information"/>
    1414 <object name="Faculty" meta_type="CPS Flexible Type Information"/>
     15 <object name="ScratchCardBatch" meta_type="CPS Flexible Type Information"/>
     16 <object name="ScratchCardBatchesFolder" meta_type="CPS Flexible Type Information"/>
    1517 <object name="Semester" meta_type="CPS Flexible Type Information"/>
    1618 <object name="Student" meta_type="CPS Flexible Type Information"/>
     
    1820 <object name="StudentClearance" meta_type="CPS Flexible Type Information"/>
    1921 <object name="StudentPersonal" meta_type="CPS Flexible Type Information"/>
    20  <object name="StudentAdmission" meta_type="CPS Flexible Type Information"/> 
     22 <object name="StudentAdmission" meta_type="CPS Flexible Type Information"/>
    2123 <object name="StudentsFolder" meta_type="CPS Flexible Type Information"/>
    2224 <object name="ScratchCardBatchesFolder" meta_type="CPS Flexible Type Information"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentAdmission.xml

    r435 r444  
    2323 </property>
    2424 <property name="layout_clusters">
    25   <element value=""/>
     25  <element value="front_end:student_admission_fe"/>
    2626 </property>
    2727 <property name="flexible_layouts"/>
     
    3030 <alias from="(Default)" to="academics_contents"/>
    3131 <alias from="view" to="academics_contents"/>
    32  <action title="Standard View" action_id="view" category="object"
    33     condition_expr=""
    34     url_expr="string:${object_url}/academics_contents"
     32 <action title="Standard View" action_id="view" category="object"
     33    condition_expr="" url_expr="string:${object_url}/academics_contents"
    3534    visible="True">
    3635  <permission value="View"/>
    3736 </action>
    3837 <action title="action_edit" action_id="edit" category="object"
    39     condition_expr=""
    40     url_expr="string:${object_url}/student_admission_edit_form"
     38    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit"
    4139    visible="True">
    4240  <permission value="Modify portal content"/>
    4341 </action>
     42 <action title="action_metadata" action_id="metadata" category="object"
     43    condition_expr="python:member and 'Manager' in member.getRoles()"
     44    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
     45  <permission value="Modify portal content"/>
     46 </action>
    4447</object>
Note: See TracChangeset for help on using the changeset viewer.