Don't output vacant positions
This commit is contained in:
parent
d5a51db097
commit
1333ff9ffd
|
@ -9,15 +9,16 @@
|
||||||
<xsl:variable name="exec" select="@exec" />
|
<xsl:variable name="exec" select="@exec" />
|
||||||
<xsl:for-each select="csc:position-list('')/position[@exec=$exec]">
|
<xsl:for-each select="csc:position-list('')/position[@exec=$exec]">
|
||||||
<xsl:sort select="@order" order="ascending" />
|
<xsl:sort select="@order" order="ascending" />
|
||||||
|
<xsl:if test="holder">
|
||||||
<p>
|
<p>
|
||||||
<div class="position">
|
<div class="position">
|
||||||
<a href="mailto:{@position}@csclub.uwaterloo.ca"><xsl:value-of select="@name" /></a>
|
<a href="mailto:{@position}@csclub.uwaterloo.ca"><xsl:value-of select="@name" /></a>
|
||||||
</div>
|
</div>
|
||||||
<xsl:if test="not(holder)">Vacant</xsl:if>
|
|
||||||
<xsl:for-each select="holder">
|
<xsl:for-each select="holder">
|
||||||
<xsl:value-of select="@name" /><br />
|
<xsl:value-of select="@name" /><br />
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</p>
|
</p>
|
||||||
|
</xsl:if>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue