Ignore:
Timestamp:
12 Feb 2007, 19:24:42 (18 years ago)
Author:
joachim
Message:

added importReservedBeds in Accommodation.py

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

Legend:

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

    r1062 r1410  
    11<?xml version="1.0"?>
     2<?xml-stylesheet type="text/xsl" href="catalog.xsl"?>
    23<object name="portal_catalog" meta_type="WAeUP Table">
    34 <column value="bed"/>
  • WAeUP_SRP/trunk/profiles/default/catalog.xsl

    r1403 r1410  
    2323            <xsl:sort select="@value"
    2424                      order="ascending" />
    25             <tr>
     25            <xsl:variable name="color">
     26              <xsl:choose>
     27                <xsl:when test="position() mod 2 = 0">
     28                  <xsl:text>#ffffff</xsl:text>
     29                </xsl:when>
     30                <xsl:otherwise>
     31                  <xsl:text>#eeeeee</xsl:text>
     32                </xsl:otherwise>
     33              </xsl:choose>
     34            </xsl:variable>
     35            <tr style="background-color:{$color}">
    2636              <td colspan="">
    2737                <xsl:value-of select="@value"/>
     
    4050            <xsl:sort select="@name"
    4151                      order="ascending" />
    42             <tr>
     52            <xsl:variable name="color">
     53              <xsl:choose>
     54                <xsl:when test="position() mod 2 = 0">
     55                  <xsl:text>#ffffff</xsl:text>
     56                </xsl:when>
     57                <xsl:otherwise>
     58                  <xsl:text>#eeeeee</xsl:text>
     59                </xsl:otherwise>
     60              </xsl:choose>
     61            </xsl:variable>
     62            <tr style="background-color:{$color}">
    4363              <td colspan="">
    4464                <xsl:value-of select="@name"/>
  • WAeUP_SRP/trunk/profiles/default/courses_catalog.xml

    r1403 r1410  
    11<?xml version="1.0"?>
    22<?xml-stylesheet type="text/xsl" href="catalog.xsl"?>
    3 <object name="courses_catalog" meta_type="CMF Catalog">
     3<object name="courses_catalog" meta_type="WAeUP Table">
    44 <column value="code"/>
    55 <column value="faculty"/>
     
    88 <column value="level"/>
    99 <column value="credits"/>
     10 <column value="passmark"/>
    1011 <column value="semester"/>
    1112 <index name="code" meta_type="FieldIndex">
  • WAeUP_SRP/trunk/profiles/default/schemas/certificate_course.xml

    r1399 r1410  
    22<?xml-stylesheet type="text/xsl" href="schema.xsl"?>
    33<object name="certificate_course" meta_type="CPS Schema">
    4  <field name="admin_status" meta_type="CPS String Field"/>
    5  <field name="certificate_code" meta_type="CPS String Field"/>
    6  <field name="certificate_code_org" meta_type="CPS String Field"/>
    7  <field name="code" meta_type="CPS String Field">
    8   <property name="is_searchabletext">False</property>
    9  </field>
     4 <field name="code" meta_type="CPS String Field" />
    105 <field name="core_or_elective" meta_type="CPS Boolean Field"/>
    11  <field name="semester" meta_type="CPS String Field"/>
    12  <field name="department" meta_type="CPS String Field"/>
    13   <field name="level" meta_type="CPS String Field">
    14     <property name="is_searchabletext">True</property>
    15   </field>
    16   <field name="session" meta_type="CPS String Field"/>
    176</object>
  • WAeUP_SRP/trunk/profiles/default/types/types.xsl

    r1404 r1410  
    101101              </td>
    102102              <td>
     103                <xsl:for-each select="permission">
     104                  <xsl:value-of select="@value"/>
     105                </xsl:for-each>
     106              </td>
     107              <td>
    103108                <xsl:value-of select="@category"/>
    104109              </td>
Note: See TracChangeset for help on using the changeset viewer.