Commit 1c6143a0 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Update template for jobs

- show ebi email when contextually correct
- show job team
- assorted cleanup
parent 46961110
Pipeline #119897 passed with stages
in 3 minutes
......@@ -125,7 +125,7 @@ embl_content_meta_properties:
</div>
{# </fieldset> #}
<p class="vf-text"><a href="/events/archive" class="vf-link">View past events</a></p>
{# <p class="vf-text"><a href="/events/archive" class="vf-link">View past events</a></p> #}
{% endspaceless %}
......
......@@ -59,14 +59,15 @@ embl_content_meta_properties:
<br/>
<section class="vf-content vf-box vf-box--inlay">
<section class="vf-content vf-box vf-box-theme--quinary vf-box--normal">
<h3 class="vf-box__heading">Key information</h3>
<div class="vf-box__text">
<ul class="vf-list vf-list--unordered">
<li class="vf-list__item" itemprop="jobLocation address"><strong>Location:</strong> {{ pagination.items[0].field_jobs_duty_station | striptags }}</li>
<li class="vf-list__item" itemprop="employmentType"><strong>Staff category:</strong> {{ pagination.items[0].field_jobs_staff_category }} - {{ pagination.items[0].field_jobs_categorisation }}</li>
<li class="vf-list__item" itemprop="employmentType"><strong>Staff category:</strong> {{ pagination.items[0].field_jobs_staff_category }}</li>
<li class="vf-list__item" itemprop="employmentType"><strong>Job type:</strong> {{ pagination.items[0].field_jobs_type }}</li>
<li class="vf-list__item"><strong>Contract duration:</strong> {{ pagination.items[0].field_jobs_contract_duration }}</li>
<li class="vf-list__item" itemprop="baseSalary"><strong>Grading:</strong> {{ pagination.items[0].field_jobs_advertise_grade }}</li>
<li class="vf-list__item" itemprop="validThrough"><strong>Closing date:</strong> {{ pagination.items[0].field_jobs_expiration | striptags | parseDate | prettyDate }}</li>
......@@ -95,8 +96,8 @@ embl_content_meta_properties:
<p>
- <a href="/jobs" class="vf-link">View all EMBL jobs</a>.
- <a href="/jobs/alerts" class="vf-link">Create a customised email alert for jobs</a>.
- <a href="/jobs" class="vf-link">View all EMBL jobs</a>
- <a href="/jobs/alerts" class="vf-link">Create a customised email alert for jobs</a>
</p>
......@@ -144,10 +145,15 @@ embl_content_meta_properties:
<a href="{{ pagination.items[0].field_jobs_apply_link }}" class="vf-button vf-button--primary">Apply now</a>
<a class="vf-link" href="mailto:?subject=EMBL Position: {{pagination.items[0].title}}&body=I thought that the position of {{pagination.items[0].title}} - {{pagination.items[0].field_jobs_reference_number}} at EMBL might be of interest to you. %0D%0A %0D%0AYou can find out more about this vacancy at: https://www.embl.org/jobs/position/{{pagination.items[0].field_jobs_reference_number}}">Share this job by email</a>.
<p>For questions or issues with the application process, please contact <a href="mailto:recruitment@embl.org">recruitment@embl.org</a>.</p>
<a class="vf-link" href="mailto:?subject=EMBL Position: {{pagination.items[0].title}}&body=I thought that the position of {{pagination.items[0].title}} - {{pagination.items[0].field_jobs_reference_number}} at EMBL might be of interest to you. %0D%0A %0D%0AYou can find out more about this vacancy at: https://www.embl.org/jobs/position/{{pagination.items[0].field_jobs_reference_number}}">Share this job by email</a>
<p>For questions or issues with the application process, please contact
{% if pagination.items[0].field_jobs_duty_station | striptags == "EMBL-EBI Hinxton" -%}
<a href="mailto:recruitment@ebi.ac.uk">recruitment@ebi.ac.uk</a>
{%- else -%}
<a href="mailto:recruitment@embl.org">recruitment@embl.org</a>
{%- endif -%}
.</p>
</div>
</section>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment