Commit 4b8a44b0 authored by Nitin Jadhav's avatar Nitin Jadhav
Browse files

Aded videos for different job categories as specified in trello issue

parent 583e82aa
Pipeline #149691 passed with stages
in 2 minutes and 42 seconds
......@@ -81,7 +81,7 @@ embl_content_meta_properties:
</span>
</p>
{% else %}
<p class="vf-intro__subheading"><span itemprop="employmentType">{{ currentJob.field_jobs_type }}
<p class="vf-intro__subheading"><span itemprop="employmentType">{{ currentJob.field_jobs_type }}
<span class="vf-intro__text">
<br/>
{{ currentJob.field_jobs_duty_station | striptags }}
......@@ -287,10 +287,14 @@ embl_content_meta_properties:
<article class="vf-video-teaser__item | vf-stack vf-stack--400 | vf-content">
<h2>&nbsp;<!-- offset --></h2>
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
{% if '5-6' in currentJob.field_jobs_advertise_grade and 'Software Development and Engineering' in currentJob.field_jobs_type %}
{% if 'Software Development and Engineering' in currentJob.field_jobs_type %}
<div class='embed-container'><iframe src='https://www.youtube.com/embed/gXDLvQgF8Hw' frameborder='0' allowfullscreen></iframe></div>
<h4 class="vf-video-teaser__link vf-link"><a href="https://www.youtube.com/watch?v=gXDLvQgF8Hw">Developers at EMBL-EBI</a></h4>
<p class="vf-video-teaser__link">What it is like to be a developer at EMBL-EBI?</p>
{% elif 'Postdoctoral Fellowships' in currentJob.field_jobs_type or 'Predoctoral Fellowships' in currentJob.field_jobs_type%}
<div class='embed-container'><iframe src='https://www.youtube.com/embed/V2D46d8V1V4' frameborder='0' allowfullscreen></iframe></div>
<h4 class="vf-video-teaser__link vf-link"><a href="https://www.youtube.com/watch?v=V2D46d8V1V4">Working at EMBL-EBI</a></h4>
<p class="vf-video-teaser__link">Join our diverse team and help power the next generation of discoveries in the life sciences.</p>
{% else %}
<div class='embed-container'><iframe src='https://www.youtube.com/embed/cABhbUHsKIk' frameborder='0' allowfullscreen></iframe></div>
<h4 class="vf-video-teaser__link vf-link"><a href="https://www.youtube.com/watch?v=cABhbUHsKIk">Working at EMBL-EBI</a></h4>
......
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