Browse Source

managing male and female employee status

svn path=/trunk/; revision=26874
tags/stw2018
hugo 5 years ago
parent
commit
ebf92f84f5

+ 8
- 4
about/people/employees.en.xml View File

@@ -1,9 +1,13 @@
<?xml version="1.0"?>

<employeeset>
<employee id="full">Full-time&#160;employee</employee>
<employee id="part">Part-time&#160;employee</employee>
<employee id="intern">Intern</employee>
<employee id="full/m">Full-time&#160;employee</employee>
<employee id="full/f">Full-time&#160;employee</employee>
<employee id="part/m">Part-time&#160;employee</employee>
<employee id="part/f">Part-time&#160;employee</employee>
<employee id="intern/m">Intern</employee>
<employee id="intern/f">Intern</employee>
<!--You should use the intern function rather than this, but maybe this will be needed-->
<employee id="freelancer">Freelancer</employee>
<employee id="freelancer/m">Freelancer</employee>
<employee id="freelancer/f">Freelancer</employee>
</employeeset>

+ 13
- 0
about/people/employees.fr.xml View File

@@ -0,0 +1,13 @@
<?xml version="1.0"?>

<employeeset>
<employee id="full/m">Employé&#160;temps-plein</employee>
<employee id="full/f">Employée&#160;temps-plein</employee>
<employee id="part/m">Employé&#160;temps-partiel</employee>
<employee id="part/f">Employée&#160;temps-partiel</employee>
<employee id="intern/m">Stagiaire</employee>
<employee id="intern/f">Stagiaire</employee>
<!--You should use the intern function rather than this, but maybe this will be needed-->
<employee id="freelancer/m">Consultant</employee>
<employee id="freelancer/f">Consultante</employee>
</employeeset>

+ 10
- 10
about/people/people.en.xml View File

@@ -82,7 +82,7 @@
<email>eal (at) fsfe (dot) org</email>
<link>/about/albers/albers.en.html</link>
<avatar>/about/albers/albers-avatar.jpg</avatar>
<employee>full</employee>
<employee>full/m</employee>
</person>

<person id="arnold" avatar="yes" teams="de, core">
@@ -147,7 +147,7 @@
<country>FR</country>
<function>intern/f</function>
<email>lucile.falg (at) fsfe (dot) org</email>
<employee>full</employee>
<employee>full/f</employee>
</person>

<person id="gerloff" avatar="yes" association-member="yes" teams="de, council, ga">
@@ -162,7 +162,7 @@
<email>gerloff (at) fsfe (dot) org</email>
<link>/about/gerloff/gerloff.html</link>
<avatar>/about/gerloff/gerloff-avatar.jpg</avatar>
<employee>full</employee>
<employee>full/m</employee>
</person>

<person id="gollowitzer" avatar="yes" association-member="yes" teams="at, ga">
@@ -198,7 +198,7 @@
<country>DE</country>
<function>sysadmin/m</function>
<email>paul (at) fsfe (dot) org</email>
<employee>freelancer</employee>
<employee>freelancer/m</employee>
</person>

<person id="jean" avatar="yes" teams="fr, de, core">
@@ -244,7 +244,7 @@
<function>office/m</function>
<function>merchandise/m</function>
<email>kersten (at) fsfeurope (dot) org</email>
<employee>part</employee>
<employee>part/m</employee>
</person>

<person id="kirschner" avatar="yes" association-member="yes" teams="de, ga, council">
@@ -255,7 +255,7 @@
<email>mk (at) fsfe (dot) org</email>
<link>/about/kirschner/kirschner.html</link>
<avatar>/about/kirschner/kirschner-avatar.jpg</avatar>
<employee>full</employee>
<employee>full/m</employee>
</person>

<person id="kneissl" avatar="no" teams="at, core">
@@ -278,7 +278,7 @@
<country>FI</country>
<function>intern/m</function>
<email>lammi (at) fsfeurope (dot) org</email>
<employee>full</employee>
<employee>full/m</employee>
</person>

<person id="lindfors" avatar="no" teams="fi">
@@ -301,7 +301,7 @@
<email>max.mehl (at) fsfe (dot) org</email>
<link>/about/mehl/mehl.html</link>
<avatar>/about/mehl/mehl-avatar.jpg</avatar>
<employee>full</employee>
<employee>full/m</employee>
</person>

<person id="mueller" avatar="yes" association-member="yes" teams="ga, at">
@@ -433,7 +433,7 @@
<email>hook (at) fsfe (dot) org</email>
<link>http://matija.suklje.name</link>
<avatar>/about/suklje/suklje-avatar.jpg</avatar>
<employee>full</employee>
<employee>full/m</employee>
</person>
<person id="tuke" avatar="yes" teams="gb, core">
@@ -444,7 +444,7 @@
<email>samtuke (at) fsfe (dot) org</email>
<link>/about/tuke/tuke.html</link>
<avatar>/about/tuke/tuke-avatar.jpg</avatar>
<employee>part</employee>
<employee>part/m</employee>
</person>

<person id="weiden" avatar="yes" association-member="yes" teams="ga">

+ 4
- 4
tools/xsltsl/countries.xsl View File

@@ -170,16 +170,16 @@
<xsl:for-each select="employee">
<xsl:element name="span">
<xsl:choose>
<xsl:when test=" . = 'full'">
<xsl:when test="substring-before( . , '/') = 'full'">
<xsl:attribute name="class">employee full</xsl:attribute>
</xsl:when>
<xsl:when test=" . = 'part'">
<xsl:when test="substring-before( . , '/') = 'part'">
<xsl:attribute name="class">employee part</xsl:attribute>
</xsl:when>
<xsl:when test=" . = 'freelancer'">
<xsl:when test="substring-before( . , '/') = 'freelancer'">
<xsl:attribute name="class">employee freelancer</xsl:attribute>
</xsl:when>
<xsl:when test=" . = 'intern'">
<xsl:when test="substring-before( . , '/') = 'intern'">
<xsl:attribute name="class">employee intern</xsl:attribute>
</xsl:when>
<xsl:otherwise></xsl:otherwise>

Loading…
Cancel
Save