{% load wagtailimages_tags static %}
  • {{ self.number }}
    {% if self.page.profile_image %} {% image self.page.profile_image fill-150x150 class="object-cover w-12 shrink-0 grow-1" %} {% endif %}

    {{ self.page.title }}

    {% if show_job and self.page.job %} {{ self.page.job }} {% elif self.page.position %} {{ self.page.position }} {% endif %}

    {% if self.page.is_pirate is not None %}
    {% if self.page.is_pirate %} Logo pirátské strany
    Pirátská Strana
    {% elif self.page.other_party %} {% if self.page.other_party_logo %} {% image self.page.other_party_logo fill-150x150 as other_party_logo_image %} Logo {{ self.page.other_party }}
    {{ self.page.other_party }}
    {% endif %} {% endif %}
    {% endif %}