Skip to content

Commit

Permalink
EWPP-1980: Render event contacts full width.
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra authored and imanoleguskiza committed Apr 5, 2022
1 parent 76a6738 commit 01ba5da
Showing 1 changed file with 20 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,25 @@
{% if general is not empty or press is not empty %}
<div id="event-contacts">
<h2 class="ecl-u-type-heading-2 ecl-u-mt-2xl ecl-u-mt-m-3xl ecl-u-mb-l">{{ 'Contacts'|t }}</h2>
<div class="ecl-row">
{% if general is not empty %}
<div id="event-contacts-general" class="ecl-col-12 ecl-col-m-6">
<h3 class="ecl-u-type-heading-3 ecl-u-mt-none ecl-u-mb-m ecl-u-mb-m-l">{{ 'General contact'|t }}</h3>
{% for contact in general %}
<div{{ not loop.last ? ' class="ecl-u-mb-xl ecl-u-pb-xl ecl-u-border-bottom ecl-u-border-color-grey-20"'}}>
{{ contact }}
</div>
{% endfor %}
</div>
{% endif %}
{% if press is not empty %}
<div id="event-contacts-press" class="ecl-col-12 ecl-col-m-6{{ general is not empty ? ' ecl-u-mt-l ecl-u-mt-m-none'}}">
<h3 class="ecl-u-type-heading-3 ecl-u-mt-none ecl-u-mb-m ecl-u-mb-m-l">{{ 'Press contact'|t }}</h3>
{% for contact in press %}
<div{{ not loop.last ? ' class="ecl-u-mb-xl ecl-u-pb-xl ecl-u-border-bottom ecl-u-border-color-grey-20"'}}>
{{ contact }}
</div>
{% endfor %}
</div>
{% endif %}
</div>
{% if general is not empty %}
<div id="event-contacts-general">
<h3 class="ecl-u-type-heading-3 ecl-u-mt-none ecl-u-mb-m ecl-u-mb-m-l">{{ 'General contact'|t }}</h3>
{% for contact in general %}
<div{{ not loop.last ? ' class="ecl-u-mb-xl ecl-u-pb-xl ecl-u-border-bottom ecl-u-border-color-grey-20"'}}>
{{ contact }}
</div>
{% endfor %}
</div>
{% endif %}
{% if press is not empty %}
<div id="event-contacts-press">
<h3 class="ecl-u-type-heading-3 ecl-u-mt-none ecl-u-mb-m ecl-u-mb-m-l">{{ 'Press contact'|t }}</h3>
{% for contact in press %}
<div{{ not loop.last ? ' class="ecl-u-mb-xl ecl-u-pb-xl ecl-u-border-bottom ecl-u-border-color-grey-20"'}}>
{{ contact }}
</div>
{% endfor %}
</div>
{% endif %}
</div>
{% endif %}

0 comments on commit 01ba5da

Please sign in to comment.