Skip to content
Snippets Groups Projects
Commit 6b91fc95 authored by Tomi Valentová's avatar Tomi Valentová
Browse files

run hooks

parent 54fe49f3
No related branches found
No related tags found
2 merge requests!1121Release,!1119run hooks
Pipeline #19610 passed
Showing
with 328 additions and 99 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
shared/static/styleguide2/images/hoax.webp

4.85 KiB

This diff is collapsed.
...@@ -2,8 +2,17 @@ ...@@ -2,8 +2,17 @@
<ui-candidate-primary-box <ui-candidate-primary-box
name="{{ name }}" name="{{ name }}"
{% if subheading %}
subheading="{{ subheading }}"
{% endif %}
{% if button_text %}
button-text="{{ button_text }}"
{% endif %}
:position="{% if position %}'{{ position }}'{% else %}null{% endif %}" :position="{% if position %}'{{ position }}'{% else %}null{% endif %}"
description="{{ description }}" :description="'{{ description|escapejs }}'"
url="{{ url }}" url="{{ url }}"
image-source="{{ candidate_image.url }}" image-source="{{ candidate_image.url }}"
></ui-candidate-primary-box> ></ui-candidate-primary-box>
{% load wagtailcore_tags %} {% load wagtailcore_tags %}
{% if self.candidates %}
<div class="bg-grey-180"> <div class="bg-grey-180">
<ul class="candidate-secondary-list pt-14 pb-16"> <ul class="candidate-secondary-list pt-14 pb-16">
<div class="container--wide"> <div class="container--wide">
...@@ -11,3 +12,4 @@ ...@@ -11,3 +12,4 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% endif %}
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
{% if description %} {% if description %}
<p <p
class=" class="
text-lg leading-7 pr-4 text-lg leading-7 pr-4 whitespace-pre-line
xl:pr-0 xl:pr-0
...@@ -82,9 +82,7 @@ ...@@ -82,9 +82,7 @@
{% block description_classes %}{% endblock %} {% block description_classes %}{% endblock %}
" "
> >{{ description }}</p>
{{ description }}
</p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment