From dfe9f27bb9c170992251269a49f6325f2d851c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Valentov=C3=A1?= <git@imaniti.org> Date: Tue, 23 Jul 2024 14:05:13 +0200 Subject: [PATCH] fix center contacts --- district/templates/district/district_center_page.html | 8 ++++++-- .../includes/molecules/contact/center_contacts.html | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/district/templates/district/district_center_page.html b/district/templates/district/district_center_page.html index 2877e069..a15e7f08 100644 --- a/district/templates/district/district_center_page.html +++ b/district/templates/district/district_center_page.html @@ -14,13 +14,17 @@ <main role="main"> {% include "styleguide2/includes/molecules/program/secondary_card_program.html" %} - <div class="container--wide my-6 lg:my-12"> + <div class="container--wide flex flex-col gap-6 my-6"> {% for block in page.content %} {% include_block block %} {% endfor %} {% if page.calendar %} - <div> + <div class="container--medium mx-auto px-4"> + <h2 class="head-14xl xl:leading-[10.5rem] mb-4 xl:mb-8"> + Kalendář + </h2> + {% include 'styleguide2/includes/atoms/calendar/calendar.html' with calendar_data=page.get_fullcalendar_data %} </div> {% endif %} diff --git a/shared/templates/styleguide2/includes/molecules/contact/center_contacts.html b/shared/templates/styleguide2/includes/molecules/contact/center_contacts.html index 2ec9fa21..cc4bb637 100644 --- a/shared/templates/styleguide2/includes/molecules/contact/center_contacts.html +++ b/shared/templates/styleguide2/includes/molecules/contact/center_contacts.html @@ -10,7 +10,7 @@ {% with contact_details.person as person_page %} {% image person_page.specific.get_profile_image fill-256x256 as contact_box_image %} - {% include 'styleguide2/includes/molecules/contact/contact_person_large_box.html' with image=contact_box_image name=person_page.title function=person_page.position %} + {% include 'styleguide2/includes/molecules/contact/contact_person_large_box.html' with url=person_page.url telephone=person_page.phone mail=person_page.email image=contact_box_image name=person_page.title function=person_page.position %} {% endwith %} </div> {% endfor %} -- GitLab