Changeset 428 for WAeUP_SRP


Ignore:
Timestamp:
26 Aug 2006, 10:30:48 (18 years ago)
Author:
Henrik Bettermann
Message:

more fine tuning

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

Legend:

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

    r362 r428  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9  <widget name="accommodation" meta_type="String Widget">
    10   <property name="title">Accommodation</property>
    11   <property name="fields">
    12    <element value="accommodation"/>
    13   </property>
    14   <property name="label">Accommodation</property>
    15   <property name="label_edit">Accommodation</property>
    16   <property name="readonly_layout_modes"/>
    17   <property name="hidden_layout_modes"/>
    18   <property name="hidden_readonly_layout_modes"/>
    19   <property name="display_width">10</property>
    20  </widget>
    21  <widget name="accommodation_date" meta_type="DateTime Widget">
    22   <property name="title">Accommodation SC PIN</property>
    23   <property name="fields">
    24    <element value="accommodation_date"/>
    25   </property>
    26   <property name="label">Accommodation SC Date</property>
    27   <property name="label_edit">Accommodation SC Date</property>
    28   <property name="readonly_layout_modes"/>
    29   <property name="hidden_layout_modes"/>
    30   <property name="hidden_readonly_layout_modes"/>
    31  </widget>
    32  <widget name="accommodation_sc_id" meta_type="String Widget">
    33   <property name="title">Accommodation SC ID</property>
    34   <property name="fields">
    35    <element value="accommodation_sc_id"/>
    36   </property>
    37   <property name="label">Accommodation SC ID</property>
    38   <property name="label_edit">Accommodation SC ID</property>
    39   <property name="readonly_layout_modes"/>
    40   <property name="hidden_layout_modes"/>
    41   <property name="hidden_readonly_layout_modes"/>
    42   <property name="display_width">10</property>
    43  </widget>
    44  <widget name="accommodation_sc_pin" meta_type="String Widget">
    45   <property name="title">Accommodation SC PIN</property>
    46   <property name="fields">
    47    <element value="accommodation_sc_pin"/>
    48   </property>
    49   <property name="label">Accommodation SC PIN</property>
    50   <property name="label_edit">Accommodation SC PIN</property>
    51   <property name="readonly_layout_modes"/>
    52   <property name="hidden_layout_modes"/>
    53   <property name="hidden_readonly_layout_modes"/>
    54   <property name="display_width">10</property>
    55  </widget>
    56  <widget name="accommodation_sc_value" meta_type="Float Widget">
    57   <property name="title">Accommodation SC Value</property>
    58   <property name="fields">
    59    <element value="accommodation_sc_value"/>
    60   </property>
    61   <property name="label">Accommodation SC Value</property>
    62   <property name="label_edit">Accommodation SC Value</property>
    63   <property name="readonly_layout_modes"/>
    64   <property name="hidden_layout_modes"/>
    65   <property name="hidden_readonly_layout_modes"/>
    66  </widget>
    67  <widget name="adm_check_date" meta_type="DateTime Widget">
    68   <property name="title">Admission check SC PIN</property>
    69   <property name="fields">
    70    <element value="adm_check_date"/>
    71   </property>
    72   <property name="label">Admission check SC Date</property>
    73   <property name="label_edit">Admission check SC Date</property>
    74   <property name="readonly_layout_modes"/>
    75   <property name="hidden_layout_modes"/>
    76   <property name="hidden_readonly_layout_modes"/>
    77  </widget>
    78  <widget name="adm_check_sc_id" meta_type="String Widget">
    79   <property name="title">Admission check SC ID</property>
    80   <property name="fields">
    81    <element value="adm_check_sc_id"/>
    82   </property>
    83   <property name="label">Admission check SC ID</property>
    84   <property name="label_edit">Admission check SC ID</property>
    85   <property name="readonly_layout_modes"/>
    86   <property name="hidden_layout_modes"/>
    87   <property name="hidden_readonly_layout_modes"/>
    88   <property name="display_width">10</property>
    89  </widget>
    90  <widget name="adm_check_sc_pin" meta_type="String Widget">
    91   <property name="title">Admission check SC PIN</property>
    92   <property name="fields">
    93    <element value="adm_check_sc_pin"/>
    94   </property>
    95   <property name="label">Admission check SC PIN</property>
    96   <property name="label_edit">Admission check SC PIN</property>
    97   <property name="readonly_layout_modes"/>
    98   <property name="hidden_layout_modes"/>
    99   <property name="hidden_readonly_layout_modes"/>
    100   <property name="display_width">10</property>
    101  </widget>
    102  <widget name="adm_check_sc_value" meta_type="Float Widget">
    103   <property name="title">Admission check SC Value</property>
    104   <property name="fields">
    105    <element value="adm_check_sc_value"/>
    106   </property>
    107   <property name="label">Admission check SC Value</property>
    108   <property name="label_edit">Admission check SC Value</property>
    109   <property name="readonly_layout_modes"/>
    110   <property name="hidden_layout_modes"/>
    111   <property name="hidden_readonly_layout_modes"/>
    112  </widget>
    113  <widget name="clearance_date" meta_type="DateTime Widget">
    114   <property name="title">clearance SC PIN</property>
    115   <property name="fields">
    116    <element value="clearance_date"/>
    117   </property>
    118   <property name="label">Clearance SC Date</property>
    119   <property name="label_edit">Clearance SC Date</property>
    120   <property name="readonly_layout_modes"/>
    121   <property name="hidden_layout_modes"/>
    122   <property name="hidden_readonly_layout_modes"/>
    123  </widget>
    124  <widget name="clearance_sc_id" meta_type="String Widget">
    125   <property name="title">Clearance SC ID</property>
    126   <property name="fields">
    127    <element value="clearance_sc_id"/>
    128   </property>
    129   <property name="label">Clearance SC ID</property>
    130   <property name="label_edit">Clearance SC ID</property>
    131   <property name="readonly_layout_modes"/>
    132   <property name="hidden_layout_modes"/>
    133   <property name="hidden_readonly_layout_modes"/>
    134   <property name="display_width">10</property>
    135  </widget>
    136  <widget name="clearance_sc_pin" meta_type="String Widget">
    137   <property name="title">clearance SC PIN</property>
    138   <property name="fields">
    139    <element value="clearance_sc_pin"/>
    140   </property>
    141   <property name="label">Clearance SC PIN</property>
    142   <property name="label_edit">Clearance SC PIN</property>
    143   <property name="readonly_layout_modes"/>
    144   <property name="hidden_layout_modes"/>
    145   <property name="hidden_readonly_layout_modes"/>
    146   <property name="display_width">10</property>
    147  </widget>
    148  <widget name="clearance_sc_value" meta_type="Float Widget">
    149   <property name="title">clearance SC Value</property>
    150   <property name="fields">
    151    <element value="clearance_sc_value"/>
    152   </property>
    153   <property name="label">Clearance SC Value</property>
    154   <property name="label_edit">Clearance SC Value</property>
    155   <property name="readonly_layout_modes"/>
    156   <property name="hidden_layout_modes"/>
    157   <property name="hidden_readonly_layout_modes"/>
    158  </widget>
    159  <widget name="faculty" meta_type="String Widget">
    160   <property name="title">Faculty</property>
    161   <property name="fields">
    162    <element value="faculty"/>
    163   </property>
    164   <property name="label">Faculty</property>
    165   <property name="label_edit">Faculty</property>
    166   <property name="readonly_layout_modes"/>
    167   <property name="hidden_layout_modes"/>
    168   <property name="hidden_readonly_layout_modes"/>
    169   <property name="display_width">10</property>
    170  </widget>
    171  <widget name="hostel_fee_date" meta_type="DateTime Widget">
    172   <property name="title">hostel_fee SC PIN</property>
    173   <property name="fields">
    174    <element value="hostel_fee_date"/>
    175   </property>
    176   <property name="label">Hostel Fee SC Date</property>
    177   <property name="label_edit">Hostel Fee SC Date</property>
    178   <property name="readonly_layout_modes"/>
    179   <property name="hidden_layout_modes"/>
    180   <property name="hidden_readonly_layout_modes"/>
    181  </widget>
    182  <widget name="hostel_fee_sc_id" meta_type="String Widget">
    183   <property name="title">hostel_fee SC ID</property>
    184   <property name="fields">
    185    <element value="hostel_fee_sc_id"/>
    186   </property>
    187   <property name="label">Hostel Fee SC ID</property>
    188   <property name="label_edit">Hostel Fee SC ID</property>
    189   <property name="readonly_layout_modes"/>
    190   <property name="hidden_layout_modes"/>
    191   <property name="hidden_readonly_layout_modes"/>
    192   <property name="display_width">10</property>
    193  </widget>
    194  <widget name="hostel_fee_sc_pin" meta_type="String Widget">
    195   <property name="title">hostel_fee SC PIN</property>
    196   <property name="fields">
    197    <element value="hostel_fee_sc_pin"/>
    198   </property>
    199   <property name="label">Hostel Fee SC PIN</property>
    200   <property name="label_edit">Hostel Fee SC PIN</property>
    201   <property name="readonly_layout_modes"/>
    202   <property name="hidden_layout_modes"/>
    203   <property name="hidden_readonly_layout_modes"/>
    204   <property name="display_width">10</property>
    205  </widget>
    206  <widget name="hostel_fee_sc_value" meta_type="Float Widget">
    207   <property name="title">hostel_fee SC Value</property>
    208   <property name="fields">
    209    <element value="hostel_fee_sc_value"/>
    210   </property>
    211   <property name="label">Hostel Fee SC Value</property>
    212   <property name="label_edit">Hostel Fee SC Value</property>
    213   <property name="readonly_layout_modes"/>
    214   <property name="hidden_layout_modes"/>
    215   <property name="hidden_readonly_layout_modes"/>
    216  </widget>
    217  <widget name="jamb_is_admitted" meta_type="Boolean Widget">
    218   <property name="title">JAMB Admission</property>
    219   <property name="fields">
    220    <element value="jamb_is_admitted"/>
    221   </property>
    222   <property name="label">JAMB Admission</property>
    223   <property name="label_edit">JAMB Admission</property>
    224   <property name="readonly_layout_modes"/>
    225   <property name="hidden_layout_modes"/>
    226   <property name="hidden_readonly_layout_modes"/>
    227  </widget>
    228  <table/>
    2299</object>
  • WAeUP_SRP/trunk/profiles/default/types/Student.xml

    r427 r428  
    3939 <alias from="view" to="academics_contents"/>
    4040 <action title="Standard View" action_id="view" category="object"
    41     condition_expr="python:object.getContent().memberIsOwner() or (member and 'UniversityManager'in member.getRoles())"
    42     url_expr="string:${object_url}/temporary_view_all" visible="True">
     41    condition_expr="python:object.getContent().memberIsOwner() or (member and 'SectionManager'in member.getRoles())"
     42    url_expr="string:${object_url}/academics_contents" visible="True">
    4343  <permission value="View"/>
    4444 </action>
     
    6161    condition_expr="python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)"
    6262    url_expr="string:${object/absolute_url}/PERSONAL" visible="True">
    63   <permission value="Modify portal content"/>
    64  </action>
    65  <action title="Eligibility Data" action_id="eligibility" category="object"
    66     condition_expr="object/memberIsOwner"
    67     url_expr="string:${object_url}/ELIGIBILITY" visible="True">
    68   <permission value="Modify portal content"/>
    69  </action>
    70  <action title="Scanned Documents" action_id="DOCUMENTS" category="object"
    71     condition_expr="python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)"
    72     url_expr="string:${object/absolute_url}/DOCUMENTS" visible="True">
    7363  <permission value="Modify portal content"/>
    7464 </action>
  • WAeUP_SRP/trunk/profiles/default/types/StudentAdmission.xml

    r427 r428  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentAdmission</property>
    10  <property name="immediate_view"></property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    3030 <property name="storage_methods"/>
    3131 <property name="cps_is_portlet">False</property>
    32  <alias from="(Default)" to="cpsdocument_view"/>
    33  <alias from="view" to="cpsdocument_view"/>
    34  <action title="View" action_id="view" category="object" condition_expr=""
    35     url_expr="string:${object_url}/cpsdocument_view" visible="True">
     32 <alias from="(Default)" to="academics_contents"/>
     33 <alias from="view" to="academics_contents"/>
     34 <action title="Standard View" action_id="view" category="object"
     35    condition_expr=""
     36    url_expr="string:${object_url}/academics_contents"
     37    visible="True">
    3638  <permission value="View"/>
    3739 </action>
     
    4345 </action>
    4446 <action title="action_metadata" action_id="metadata" category="object"
    45     condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"
    46     visible="False"/>
     47    condition_expr="python:member and 'Manager' in member.getRoles()"
     48    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
     49  <permission value="Modify portal content"/>
     50 </action>
    4751</object>
  • WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml

    r427 r428  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentClearance</property>
    10  <property name="immediate_view"></property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2424  <element value="student_clearance"/>
    2525 </property>
    26  <property name="layout_clusters"/>
     26 <property name="layout_clusters">
     27  <element value="metadata:metadata"/>
     28 </property>
    2729 <property name="flexible_layouts"/>
    2830 <property name="storage_methods"/>
    2931 <property name="cps_is_portlet">False</property>
    30  <alias from="(Default)" to="cpsdocument_view"/>
    31  <alias from="view" to="cpsdocument_view"/>
     32 <alias from="(Default)" to="academics_contents"/>
     33 <alias from="view" to="academics_contents"/>
    3234 <action title="Standard View" action_id="view" category="object"
    33     condition_expr="" url_expr="string:${object_url}/cpsdocument_view"
     35    condition_expr=""
     36    url_expr="string:${object_url}/academics_contents"
    3437    visible="True">
    3538  <permission value="View"/>
    3639 </action>
    3740 <action title="action_edit" action_id="edit" category="object"
    38     condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     41    condition_expr=""
     42    url_expr="string:${object_url}/cpsdocument_edit_form"
    3943    visible="True">
    4044  <permission value="Modify portal content"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml

    r427 r428  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentPersonal</property>
    10  <property name="immediate_view"></property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    3030 <property name="storage_methods"/>
    3131 <property name="cps_is_portlet">False</property>
    32  <alias from="(Default)" to="cpsdocument_view"/>
    33  <alias from="view" to="cpsdocument_view"/>
     32 <alias from="(Default)" to="academics_contents"/>
     33 <alias from="view" to="academics_contents"/>
    3434 <action title="Standard View" action_id="view" category="object"
    35     condition_expr="" url_expr="string:${object_url}/cpsdocument_view"
     35    condition_expr=""
     36    url_expr="string:${object_url}/academics_contents"
    3637    visible="True">
    3738  <permission value="View"/>
     
    4344 </action>
    4445 <action title="action_metadata" action_id="metadata" category="object"
    45     condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"
    46     visible="False"/>
     46    condition_expr="python:member and 'Manager' in member.getRoles()"
     47    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
     48  <permission value="Modify portal content"/>
     49 </action>
    4750</object>
Note: See TracChangeset for help on using the changeset viewer.