Commit 89e5c7df authored by Ken Hawkins's avatar Ken Hawkins 😨
Browse files

Merge branch 'ebi-video-embeds' into 'master'

Added videos for different job categories as specified in trello issue

See merge request !31
parents 583e82aa 4b8a44b0
Pipeline #151984 passed with stages
in 40 seconds
...@@ -81,7 +81,7 @@ embl_content_meta_properties: ...@@ -81,7 +81,7 @@ embl_content_meta_properties:
</span> </span>
</p> </p>
{% else %} {% 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"> <span class="vf-intro__text">
<br/> <br/>
{{ currentJob.field_jobs_duty_station | striptags }} {{ currentJob.field_jobs_duty_station | striptags }}
...@@ -287,10 +287,14 @@ embl_content_meta_properties: ...@@ -287,10 +287,14 @@ embl_content_meta_properties:
<article class="vf-video-teaser__item | vf-stack vf-stack--400 | vf-content"> <article class="vf-video-teaser__item | vf-stack vf-stack--400 | vf-content">
<h2>&nbsp;<!-- offset --></h2> <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> <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> <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> <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> <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 %} {% else %}
<div class='embed-container'><iframe src='https://www.youtube.com/embed/cABhbUHsKIk' frameborder='0' allowfullscreen></iframe></div> <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> <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