{% extends "elections2021/base.html" %} {% load static wagtailcore_tags wagtailimages_tags wagtailroutablepage_tags elections2021_extras %} {% block content_header %} {% if active_plan %}

{{ title }}

{{ head_text|richtext }}
{% elif active_ministry %} {% include "elections2021/_page_header.html" with title=title photo=head_photo %} {% elif active_my_program %}
{{ archetype_text|richtext }}

{{ archetype_author_1|default:"" }}

{{ archetype_author_2|default:"" }}

{% else %} {% include "elections2021/_page_header.html" with title=page.head_title photo=page.photo %} {% endif %} {% endblock %} {% block content %}
{% if has_my_program %}
{% if active_my_program %} Program pro mě Úplný program {% elif query %} Program pro mě Úplný program {% else %} Program pro mě Úplný program {% endif %}
{% endif %} {% if not active_my_program %}
{% endif %}
{% for point in points %} {% include "elections2021/_program_point_block.html" %} {% if show_app_banner %} {% if forloop.counter == 3 or forloop.counter < 3 and forloop.last %} {% include "elections2021/_program_app_banner.html" %} {% endif %} {% endif %} {% endfor %}
{% if query and not points %}

Žádný relevantní programový bod nenalezen. Zkuste vyhledat něco jiného.

{% endif %} {% if show_pagination %}
{% include "elections2021/_pagination.html" with paginator=points query=query %}
{% endif %}
{% endblock %}