| |
---|
| | </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> |
---|
| |
---|
|