Add new employee status and function (#1764)
All checks were successful
continuous-integration/drone/push Build is passing

Co-Authored-By: Max Mehl <max.mehl@fsfe.org>
Co-Committed-By: Max Mehl <max.mehl@fsfe.org>
This commit is contained in:
Max Mehl 2021-01-11 09:41:53 +00:00
parent cb5a4deffd
commit a0b463d902
6 changed files with 15 additions and 4 deletions

View File

@ -12,4 +12,6 @@
<!--You should use the intern function rather than this, but maybe this will be needed-->
<employee id="freelancer/m">Freelancer</employee>
<employee id="freelancer/f">Freelancer</employee>
<employee id="contractor/m">Contractor</employee>
<employee id="contractor/f">Contractor</employee>
</employeeset>

View File

@ -23,6 +23,8 @@
<function id="policy-analyst/m">Policy Analyst</function>
<function id="policy-manager/f">Policy Manager</function>
<function id="policy-manager/m">Policy Manager</function>
<function id="policy-consultant/f">Policy Consultant</function>
<function id="policy-consultant/m">Policy Consultant</function>
<function id="campaign-manager/m">Campaign Manager</function>
<function id="campaign-manager/f">Campaign Manager</function>
<function id="program-manager/f">Programme Manager</function>

View File

@ -798,13 +798,13 @@
<person id="sander">
<name>Alexander Sander</name>
<country>DE</country>
<function>policy-manager/m</function>
<country>ES</country>
<function>policy-consultant/m</function>
<team>core</team>
<email>alex.sander (at) fsfe (dot) org</email>
<link>/about/people/sander/sander.html</link>
<avatar>sander.jpg</avatar>
<employee>full/m</employee>
<employee>contractor/m</employee>
</person>
<person id="sandklef">

View File

@ -47,7 +47,7 @@
<input name="filter-teams" type="radio" onclick="selectTeam('ga')" />General Assembly
</label>
<label class="radio-inline">
<input name="filter-teams" type="radio" onclick="selectTeam('employee')" />Employees
<input name="filter-teams" type="radio" onclick="selectTeam('employee')" />Employees/Contractors
</label>
</div>
<noscript>

View File

@ -212,6 +212,9 @@
<xsl:when test="substring-before( . , '/') = 'freelancer'">
<xsl:attribute name="class">employee freelancer</xsl:attribute>
</xsl:when>
<xsl:when test="substring-before( . , '/') = 'contractor'">
<xsl:attribute name="class">employee contractor</xsl:attribute>
</xsl:when>
<xsl:when test="substring-before( . , '/') = 'intern'">
<xsl:attribute name="class">employee intern</xsl:attribute>
</xsl:when>

View File

@ -58,6 +58,10 @@ div.people {
background-color: rgb(239, 242, 251);
}
.employee.contractor {
background-color: rgb(239, 242, 251);
}
}
/* selection of teams (filter-teams) */