Skip to content
Snippets Groups Projects
Commit bf9f0930 authored by Ondrej Rehounek's avatar Ondrej Rehounek
Browse files

district: Small issues fixes and improvements

parent 4c53aa5d
No related branches found
No related tags found
2 merge requests!418Release,!414district and region modules
Pipeline #6169 passed
......@@ -31,22 +31,6 @@
</li>
{% endfor %}
</ul>
<hr>
<h3>Povolební strategie</h3>
<p>Přečtěte si, jak se zachováme po volbách. Nemusíte volit zajíce v pytli.</p>
<a
href="{{ strategy_page.url }}"
class="btn btn--icon btn--black btn--hoveractive btn--fullwidth md:btn--autowidth"
>
<div class="btn__body-wrap">
<div class="btn__body ">Zjistit víc</div>
<div class="btn__icon ">
<i class="ico--chevron-right"></i>
</div>
</div>
</a>
<hr>
<h3>Financování kampaně</h3>
<p>Transparentní financování kampaně je pro nás samozřejmost.</p>
......
......@@ -6,14 +6,11 @@
<header class="hero hero--image pt-16 pb-24 lg:pt-32 pb-24 candidate-detail__hero"
style="--image-url: url({{ bg_img.url }})"
>
<div class="container container--default py-2">
<h1 class="head-alt-md md:head-alt-lg max-w-2xl text-left lg:text-left px-4">
<span class="academic-title-name">
<div class="container container--default text-center lg:text-left">
<h1 class="head-alt-md md:head-alt-xl max-w-2xl">
{{ page.title }}
</span>
</h1>
<h2 class="head-xs mt-2 max-w-xl mx-auto text-center lg:text-left">
<h2 class="head-xs mt-2 max-w-xl">
{{ page.job | default_if_none:"" }}
</h2>
</div>
......
......@@ -16,7 +16,7 @@
{% if title %}
{{ title }}
{% else %}
{{ person_page.job_function }}
{{ person_page.job_function|default_if_none:"" }}
{% endif %}
</span>
{% if not skipcontacts %}
......
......@@ -14,7 +14,7 @@
{% if title %}
{{ title }}
{% else %}
{{ person_page.job_function }}
{{ person_page.job_function|default_if_none:"" }}
{% endif %}
</p>
{% if person_page.get_phone %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment