Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
embl.org
html-sites
embl-jobs-pages
Commits
4b8a44b0
Commit
4b8a44b0
authored
Apr 23, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/site/position/index.njk
src/site/position/index.njk
+6
-2
No files found.
src/site/position/index.njk
View file @
4b8a44b0
...
...
@@ -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> <!-- 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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment