Changeset 1139 for WAeUP_SRP


Ignore:
Timestamp:
23 Dec 2006, 21:44:51 (18 years ago)
Author:
Henrik Bettermann
Message:

student_status title and labels renamed
StudentAccommodation? not editable

Location:
WAeUP_SRP/trunk
Files:
1 deleted
5 edited

Legend:

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

    r1136 r1139  
    5151              icon_expr="bed_list_refresh.gif"/>
    5252 <action-icon category="object"
    53               action_id="bed_list_refresh.gif"
     53              action_id="change_bed"
    5454              title="Change Bed" priority="90"
    55               icon_expr="bed_list_refresh.gif"/>             
     55              icon_expr="bed_list_refresh.gif"/>
    5656 <action-icon category="folder" action_id="portlets"
    5757              title="Manage portlets" priority="270"
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation.xml

    r1137 r1139  
    126126  <property name="hidden_readonly_layout_modes"/>
    127127 </widget>
    128  <widget name="student_status" meta_type="Select Widget">
    129   <property name="title">Status</property>
     128 <widget name="student_status" meta_type="String Widget">
     129  <property name="title">Bed Type</property>
    130130  <property name="fields">
    131131   <element value="student_status"/>
    132132  </property>
    133   <property name="label">Status</property>
    134   <property name="label_edit">Status</property>
    135   <property name="readonly_layout_modes"/>
     133  <property name="label">Bed Type</property>
     134  <property name="label_edit">Bed Type</property>
     135  <property name="readonly_layout_modes">
     136   <element value="edit"/>
     137  </property>
    136138  <property name="hidden_layout_modes"/>
    137139  <property name="hidden_readonly_layout_modes"/>
    138   <property name="vocabulary">student_status_voc</property>
    139140 </widget>
    140141 <table>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation_fe.xml

    r1102 r1139  
    9898  <property name="hidden_readonly_layout_modes"/>
    9999 </widget>
    100  <widget name="student_status" meta_type="Select Widget">
    101   <property name="title">Status</property>
     100 <widget name="student_status" meta_type="String Widget">
     101  <property name="title">Bed Type</property>
    102102  <property name="fields">
    103103   <element value="student_status"/>
    104104  </property>
    105   <property name="label">Status</property>
    106   <property name="label_edit">Status</property>
     105  <property name="label">Bed Type</property>
     106  <property name="label_edit">Bed Type</property>
    107107  <property name="readonly_layout_modes">
    108108   <element value="edit"/>
     
    112112  </property>
    113113  <property name="hidden_readonly_layout_modes"/>
    114   <property name="vocabulary">student_status_voc</property>
    115114 </widget>
    116115 <table>
  • WAeUP_SRP/trunk/profiles/default/types/StudentAccommodation.xml

    r1135 r1139  
    3535 <action title="action_edit" action_id="edit" category="object"
    3636    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
    37     visible="True">
     37    visible="False">
    3838  <permission value="Modify portal content"/>
    3939 </action>
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r1132 r1139  
    2727              <strong tal:content="row/title" /></a> </td>
    2828            <td>
    29             <a tal:condition="python: row['is_editable'] and row['type']!='StudentClearance'"
     29            <a tal:condition="python: row['is_editable'] and not row['type'] in ('StudentClearance','StudentAccommodation',)"
    3030                href="edit" tal:attributes="href string:${row/url}/external_edit_form"
    3131                target="edit"
Note: See TracChangeset for help on using the changeset viewer.