Ignore:
Timestamp:
13 Feb 2007, 14:14:44 (18 years ago)
Author:
joachim
Message:

more documentation

M profiles/default/schemas/acco_hall.xml
M profiles/default/schemas/schema.xsl
M profiles/default/workflows/waeup_student_wf/definition.xml
M profiles/default/layouts/layout.xsl
M profiles/default/layouts/acco_bed_booking.xml
M profiles/default/layouts/acco_hall.xml
M profiles/default/types/Student.xml
M profiles/default/types/AccoFolder.xml
M profiles/default/types/AccoHall.xml
M doc/srp_documentation.mm

reserved bed functionallity,
pay hostel-fee for reserved bed

D skins/waeup_student/reserve_accommodation.py
M skins/waeup_accommodation/book_reserved_bed.py
A skins/waeup_accommodation/reserve_accommodation.py

Location:
WAeUP_SRP/trunk/profiles/default/layouts
Files:
3 edited

Legend:

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

    r1393 r1412  
    11<?xml version="1.0"?>
     2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
    23<object name="acco_bed_reservation" meta_type="CPS Layout">
    34 <property name="layout_create_method"></property>
    45 <property name="layout_edit_method"></property>
    56 <property name="layout_view_method"></property>
    6  <property name="style_prefix">layout_wo_object</property>
     7 <property name="style_prefix">layout_waeup_</property>
    78 <property name="flexible_widgets"/>
    89 <property name="validate_values_expr"></property>
    9  <widget name="bed" meta_type="Select Widget">
    10   <property name="title">Bed</property>
     10 <widget name="bed_letter" meta_type="Select Widget">
     11  <property name="title">Bed Letter</property>
    1112  <property name="fields">
    12    <element value="bed"/>
     13   <element value="bed_letter"/>
    1314  </property>
    1415  <property name="is_required">True</property>
    15   <property name="label">Bed</property>
    16   <property name="label_edit">Bed</property>
     16  <property name="label">Bed Letter</property>
     17  <property name="label_edit">Bed Letter</property>
    1718  <property name="readonly_layout_modes"/>
    1819  <property name="hidden_layout_modes"/>
     
    4950 <table>
    5051  <row>
    51    <cell name="block_floor_room"/>
     52   <cell name="block_room"/>
    5253  </row>
    5354  <row>
    54    <cell name="bed"/>
     55   <cell name="bed_letter"/>
    5556  </row>
    5657  <row>
  • WAeUP_SRP/trunk/profiles/default/layouts/acco_hall.xml

    r1041 r1412  
    11<?xml version="1.0"?>
    2 <object name="accommodation" meta_type="CPS Layout">
     2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
     3<object name="acco_hall" meta_type="CPS Layout">
    34 <property name="layout_create_method"></property>
    45 <property name="layout_edit_method"></property>
  • WAeUP_SRP/trunk/profiles/default/layouts/layout.xsl

    r1403 r1412  
    1313      <body>
    1414        <xsl:for-each select="object">
    15           <h1><xsl:value-of select="@name"/></h1>
     15          <h1>Layout: <xsl:value-of select="@name"/></h1>
    1616        </xsl:for-each>
    1717        <h1>Layout</h1>
     
    3939        <h1>Properties</h1>
    4040        <table>
     41          <tr>
     42            <th>Id</th>
     43            <th>Text</th>
     44          </tr>
    4145          <xsl:for-each select="object/property">
    4246            <xsl:variable name="color">
     
    6165        </table>
    6266        <h1>Widgets</h1>
    63         <table>
    64           <xsl:for-each select="object/widget">
    65             <xsl:variable name="color">
    66               <xsl:choose>
    67                 <xsl:when test="position() mod 2 = 0">
    68                   <xsl:text>#ffffff</xsl:text>
    69                 </xsl:when>
    70                 <xsl:otherwise>
    71                   <xsl:text>#eeeeee</xsl:text>
    72                 </xsl:otherwise>
    73               </xsl:choose>
    74             </xsl:variable>
    75             <tr style="background-color:{$color}">
    76               <th>
    77                 <xsl:value-of select="@name"/>
    78               </th>
    79               <td colspan="2">
    80                 <xsl:value-of select="@meta_type"/>
    81               </td>
    82             </tr>
     67        <xsl:for-each select="object/widget">
     68          <xsl:variable name="color">
     69            <xsl:choose>
     70              <xsl:when test="position() mod 2 = 0">
     71                <xsl:text>#ffffff</xsl:text>
     72              </xsl:when>
     73              <xsl:otherwise>
     74                <xsl:text>#eeeeee</xsl:text>
     75              </xsl:otherwise>
     76            </xsl:choose>
     77          </xsl:variable>
     78          <h3><xsl:value-of select="@name"/> Meta Type: <xsl:value-of select="@meta_type"/></h3>
     79          <table>
    8380            <tr style="background-color:{$color}">
    8481              <th colspan="3">
     
    10198              </tr>
    10299            </xsl:for-each>
    103           </xsl:for-each>
    104         </table>
     100          </table>
     101        </xsl:for-each>
    105102      </body>
    106103    </html>
Note: See TracChangeset for help on using the changeset viewer.