From d9f49f0756dc84f53685f5a787c45decb6ab515a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <tomas@imaniti.org> Date: Tue, 18 Jun 2024 16:47:28 +0200 Subject: [PATCH] WIP - begin uniweb redesign --- uniweb/models.py | 7 ++++++- uniweb/templates/uniweb/uniweb_home_page.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/uniweb/models.py b/uniweb/models.py index a3d2cb0b..bf1c3188 100644 --- a/uniweb/models.py +++ b/uniweb/models.py @@ -51,6 +51,11 @@ from shared.models import ( SharedTaggedUniwebArticle, SocialMixin, SubpageMixin, + MainHomePageMixin, + MainMenuMixin, + SocialMixin, + CalendarMixin, + MainSearchPageMixin, ) from shared_legacy.models import FooterMixin as LegacyFooterMixin from shared_legacy.utils import make_promote_panels, strip_all_html_tags, trim_to_length @@ -835,4 +840,4 @@ class UniwebPdfPage(MetadataPageMixin, SubpageMixin, Page, PdfPageMixin): class UniwebSearchPage(MainSearchPageMixin): ### RELATIONS - parent_page_types = ["uniweb.UniwebHomePage"] + parent_page_types = ["uniweb.UniwebHomePage"] \ No newline at end of file diff --git a/uniweb/templates/uniweb/uniweb_home_page.html b/uniweb/templates/uniweb/uniweb_home_page.html index 84485da6..595c6b1f 100644 --- a/uniweb/templates/uniweb/uniweb_home_page.html +++ b/uniweb/templates/uniweb/uniweb_home_page.html @@ -26,4 +26,4 @@ </div> {% endblock %} </main> -{% endblock %} +{% endblock %} \ No newline at end of file -- GitLab