Ignore:
Timestamp:
13 Oct 2006, 06:14:01 (18 years ago)
Author:
Henrik Bettermann
Message:

accommodation and application methods are now completely equal

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

Legend:

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

    r656 r680  
    4848              icon_expr="actionicon_edit_online.png"/>
    4949 <action-icon category="object" action_id="new_bed_list"
    50               title="Refresh Bed List" priority="80"
     50              title="Update Bed List" priority="80"
    5151              icon_expr="bed_list_refresh.gif"/>
    5252 <action-icon category="folder" action_id="portlets"
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation.xml

    r676 r680  
    22<object name="student_accommodation" meta_type="CPS Layout">
    33 <property name="layout_create_method"></property>
    4  <property name="layout_edit_method">layout_waeup_edit</property>
     4 <property name="layout_edit_method"></property>
    55 <property name="layout_view_method"></property>
    6  <property name="style_prefix">layout_accommodation_</property>
     6 <property name="style_prefix">layout_waeup_</property>
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
     
    1818  <property name="hidden_readonly_layout_modes"/>
    1919  <property name="view_format">iso8601_medium_easy</property>
    20 <property name="hidden_empty"></property>
     20  <property name="hidden_empty"></property>
    2121 </widget>
    2222 <widget name="acco_maint_sc_pin" meta_type="String Widget">
  • WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation_fe.xml

    r652 r680  
    11<?xml version="1.0"?>
    2 <object name="student_acco_reserve" meta_type="CPS Layout">
     2<object name="student_accommodation_fe" meta_type="CPS Layout">
    33 <property name="layout_create_method"></property>
    44 <property name="layout_edit_method"></property>
    55 <property name="layout_view_method"></property>
    6  <property name="style_prefix">layout_application_</property>
     6 <property name="style_prefix">layout_accommodation_</property>
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
     
    3232  <property name="vocabulary">student_status_voc</property>
    3333 </widget>
     34
     35 <widget name="acco_maint_date" meta_type="DateTime Widget">
     36  <property name="title">Maintainance Fee Date</property>
     37  <property name="fields">
     38   <element value="acco_maint_date"/>
     39  </property>
     40  <property name="label">Maintainance Fee Date</property>
     41  <property name="label_edit">Maintainance Fee Date</property>
     42  <property name="readonly_layout_modes"/>
     43  <property name="hidden_layout_modes"/>
     44  <property name="hidden_readonly_layout_modes"/>
     45  <property name="view_format">iso8601_medium_easy</property>
     46<property name="hidden_empty"></property>
     47 </widget>
     48 <widget name="acco_maint_sc_pin" meta_type="String Widget">
     49  <property name="title">Maintainance Fee Access Code</property>
     50  <property name="fields">
     51   <element value="acco_maint_sc_pin"/>
     52  </property>
     53  <property name="label">Maintainance Fee Access Code</property>
     54  <property name="label_edit">Maintainance Fee Access Code</property>
     55  <property name="readonly_layout_modes"/>
     56  <property name="hidden_layout_modes"/>
     57  <property name="hidden_readonly_layout_modes"/>
     58<property name="hidden_empty"></property>
     59 </widget>
     60
     61
     62 <widget name="acco_res_date" meta_type="DateTime Widget">
     63  <property name="title">Reservation Date</property>
     64  <property name="fields">
     65   <element value="acco_res_date"/>
     66  </property>
     67  <property name="label">Reservation Date</property>
     68  <property name="label_edit">Reservation Date</property>
     69  <property name="readonly_layout_modes"/>
     70  <property name="hidden_layout_modes"/>
     71  <property name="hidden_readonly_layout_modes"/>
     72  <property name="view_format">iso8601_medium_easy</property>
     73 </widget>
     74
     75 <widget name="bed" meta_type="Method Widget">
     76 <property name="title">Bed</property>
     77 <property name="fields">
     78  <element value="bed"/>
     79 </property>
     80 <property name="label">Bed</property>
     81 <property name="label_edit">Bed</property>
     82 <property name="readonly_layout_modes"/>
     83 <property name="hidden_layout_modes"/>
     84 <property name="hidden_readonly_layout_modes"/>
     85 <property name="render_method">formatBed</property>
     86</widget>
     87 <widget name="session" meta_type="String Widget">
     88  <property name="title">Session</property>
     89  <property name="fields">
     90   <element value="session"/>
     91  </property>
     92  <property name="label">Session</property>
     93  <property name="label_edit">Session</property>
     94  <property name="readonly_layout_modes">edit</property>
     95  <property name="hidden_layout_modes"/>
     96  <property name="hidden_readonly_layout_modes"/>
     97 </widget>
     98
     99
     100
     101
    34102 <table>
     103  <row>
     104   <cell name="session"/>
     105  </row>
     106  <row>
     107   <cell name="bed"/>
     108  </row>
     109  <row>
     110   <cell name="acco_res_date"/>
     111  </row>
     112  <row>
     113   <cell name="student_status"/>
     114  </row>
    35115  <row>
    36116   <cell name="acco_res_sc_pin"/>
    37117  </row>
    38118  <row>
    39    <cell name="student_status"/>
     119   <cell name="acco_maint_date"/>
    40120  </row>
     121  <row>
     122   <cell name="acco_maint_sc_pin"/>
     123  </row>
     124
    41125 </table>
    42126</object>
  • WAeUP_SRP/trunk/profiles/default/schemas/student_accommodation.xml

    r659 r680  
    77 <field name="bed" meta_type="CPS String Field"/>
    88 <field name="session" meta_type="CPS String Field"/>
     9 <field name="student_status" meta_type="CPS String Field"/>
    910</object>
  • WAeUP_SRP/trunk/profiles/default/types/AccoFolder.xml

    r649 r680  
    4141  <permission value="Modify portal content"/>
    4242 </action>
    43 <action title="Refresh Bed List" action_id="new_bed_list"
     43<action title="Update Bed List" action_id="new_bed_list"
    4444    category="object" condition_expr=""
    4545    url_expr="string:${object_url}/generateFreeBedsList"
  • WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml

    r675 r680  
    3838  <permission value="Modify portal content"/>
    3939 </action>
    40  <action title="action_metadata" action_id="metadata" category="object"
    41     condition_expr="python:member and 'Manager' in member.getRoles()"
    42     url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
    43   <permission value="Modify portal content"/>
    44  </action>
    45  <action title="Ackowledgement Slip" action_id="slip"
    46     category="student_object" condition_expr=""
    47     url_expr="string:${object_url}/application_slip" visible="False">
    48   <permission value="View"/>
    49  </action>
    50 
    5140</object>
Note: See TracChangeset for help on using the changeset viewer.