Commit b9980d11 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

p tag nesting

parent d09191d4
Pipeline #152746 passed with stages
in 2 minutes and 21 seconds
......@@ -221,22 +221,23 @@ body .vf-hero {
{% else %}
in <span class="jplist-duty-station">{{ job.field_jobs_duty_station | striptags }}</span>
{% endif %}
{% if job.field_jobs_duty_station | striptags == "All EMBL Sites (Germany, UK, France, Italy, Spain)" %}
<div class="vf-u-display-none | used-for-filtering">
<span class="jplist-duty-station">barcelona</span>
<span class="jplist-duty-station">grenoble</span>
<span class="jplist-duty-station">hamburg</span>
<span class="jplist-duty-station">heidelberg</span>
<span class="jplist-duty-station">hinxton</span>
{%- if job.title == 'Grant Writing Officer' -%}
{# "Grant Writing Officer" doesn't get listed in rome, because HR says so #}
{%- else -%}
<span class="jplist-duty-station">rome</span>
{%- endif -%}
</div>
{% endif %}
</p>
{% if job.field_jobs_duty_station | striptags == "All EMBL Sites (Germany, UK, France, Italy, Spain)" %}
<div class="vf-u-display-none | used-for-filtering">
<span class="jplist-duty-station">barcelona</span>
<span class="jplist-duty-station">grenoble</span>
<span class="jplist-duty-station">hamburg</span>
<span class="jplist-duty-station">heidelberg</span>
<span class="jplist-duty-station">hinxton</span>
{%- if job.title == 'Grant Writing Officer' -%}
{# "Grant Writing Officer" doesn't get listed in rome, because HR says so #}
{%- else -%}
<span class="jplist-duty-station">rome</span>
{%- endif -%}
</div>
{% endif %}
{# Hidden fields for data sorting #}
<div class="vf-u-display-none | used-for-filtering">
<span class="jplist-event-time">
......
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