- Add support for sex in the about/exec.xml page.
This commit is contained in:
parent
5d71177679
commit
533335598f
|
@ -8,37 +8,44 @@
|
|||
<execlist>
|
||||
<exec position="President"
|
||||
name="Kannan Vijayan"
|
||||
sex="male"
|
||||
href="http://www.csclub.uwaterloo.ca/u/kvijayan/whoami.html"
|
||||
userid="president" />
|
||||
|
||||
<exec position="Vice President"
|
||||
name="Meg Darragh"
|
||||
sex="female"
|
||||
userid="vice-president" />
|
||||
|
||||
<exec position="Secretary"
|
||||
name="Wojtek Kosnik"
|
||||
sex="male"
|
||||
userid="secretary" />
|
||||
|
||||
<exec position="Treasurer"
|
||||
name="James Perry"
|
||||
sex="male"
|
||||
href="http://www.ring-zero.org/"
|
||||
userid="treasurer" />
|
||||
|
||||
<exec position="System Administrator"
|
||||
type="appointed"
|
||||
name="Stefanus Du Toit"
|
||||
sex="male"
|
||||
href="http://3.141592.org/"
|
||||
userid="sysadmin" />
|
||||
|
||||
<exec position="Librarian"
|
||||
type="appointed"
|
||||
name="Simon Law"
|
||||
sex="male"
|
||||
href="http://www.eng.uwaterloo.ca/~sfllaw/"
|
||||
userid="librarian" />
|
||||
|
||||
<!--
|
||||
<exec position="Imapd (Individual Making Arrangements for Pop Delivery)"
|
||||
type="appointed"
|
||||
sex=""
|
||||
name="To Be Announced"
|
||||
userid="" />
|
||||
-->
|
||||
|
@ -46,6 +53,7 @@
|
|||
<exec position="Drunken Web Master"
|
||||
type="appointed"
|
||||
name="Julie Lavoie"
|
||||
sex="female"
|
||||
href="http://www.deor.org/~jlv/"
|
||||
userid="www" />
|
||||
</execlist>
|
||||
|
|
|
@ -433,7 +433,12 @@
|
|||
<li><xsl:value-of select="@name"/> is this term's <b><xsl:value-of
|
||||
select="@position"/></b>. You can <a
|
||||
href="mailto:{@userid}@csclub.uwaterloo.ca">e-mail the <xsl:value-of select="@position"/></a><xsl:if
|
||||
test="not(@href='')"> or <a href="{@href}">visit his or her
|
||||
test="not(@href='')"> or <a href="{@href}">visit
|
||||
<xsl:choose>
|
||||
<xsl:when test="@sex='male'"> his </xsl:when>
|
||||
<xsl:when test="@sex='female'"> her </xsl:when>
|
||||
<xsl:otherwise> his or her </xsl:otherwise>
|
||||
</xsl:choose>
|
||||
homepage</a></xsl:if>.
|
||||
</li>
|
||||
</xsl:template>
|
||||
|
|
Loading…
Reference in New Issue