diff --git a/district/templates/district/district_center_page.html b/district/templates/district/district_center_page.html index 2877e069d54faed66e039976799cb9517ff99d60..a15e7f083319bc844204b0da3fe346babeb43f6c 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 2ec9fa211b0da4f67b0909dc2b834c7f52883639..cc4bb637075d734283ddd9b81420154b55a9cfe0 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 %}