• Changed expansion of semester codes to match University standard phrasing.
1 parent 4218738 commit 8ddba48c3da8d453ddfa8986ef1e5be2c87aee11
Nigel Stanger authored on 3 Jul 2014
Showing 1 changed file
View
6
modules/otago-specific.xml
</template>
 
 
<!--
Expand an Otago period code (e.g., "S1") into it's full equivalent (e.g., "Semester One").
Expand an Otago period code (e.g., "S1") into it's full equivalent (e.g., "First Semester").
$period-code: The period code to be expanded.
Returns: The expanded period string.
<xsl:when test="$period-code = 'SS'">
<xsl:text>Summer School</xsl:text>
</xsl:when>
<xsl:when test="$period-code = 'S1'">
<xsl:text>Semester One</xsl:text>
<xsl:text>First Semester</xsl:text>
</xsl:when>
<xsl:when test="$period-code = 'S2'">
<xsl:text>Semester Two</xsl:text>
<xsl:text>Second Semester</xsl:text>
</xsl:when>
<xsl:when test="$period-code = 'FY'">
<xsl:text>Full Year</xsl:text>
</xsl:when>