Add new employee status and function #1764

Merged
max.mehl merged 1 commits from contractor-team into master 2021-01-11 09:41:56 +00:00
6 changed files with 15 additions and 4 deletions
+2
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>
+2
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>
+3 -3
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">
+1 -1
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>
+3
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>
+4
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) */