From 27ce16fd67f339363fe42a1bbbb97819c1b1cc78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org> Date: Fri, 4 Oct 2024 01:01:10 +0200 Subject: [PATCH] fix switcher --- district/models.py | 2 +- .../styleguide2/includes/organisms/header/people_header.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/district/models.py b/district/models.py index f0d1b70a..8ed44aaa 100644 --- a/district/models.py +++ b/district/models.py @@ -648,7 +648,7 @@ class DistrictPeoplePage(MainPeoplePageMixin): "Tým z Chobotnice</em>. Jako zkratku skupiny můžeš vyplnit " "například <em>cen_ao_ved</em> pro skupinu " "<a href='https://pi2.cz/chobo-ao'>Administrativní odbor - vedení</a>." - "Jako zkratku týmu můžeš vyplnit např. <em>TO-admin</em> pro tým" + "Jako zkratku týmu můžeš vyplnit např. <em>TO-admin</em> pro tým " "<a href='https://pi2.cz/chobo-to'>Administrátoři TO</a>. Při sync. " "týmů se do pozice osoby propíše role v daném týmu." ), diff --git a/shared/templates/styleguide2/includes/organisms/header/people_header.html b/shared/templates/styleguide2/includes/organisms/header/people_header.html index b3c66edb..946cf4e2 100644 --- a/shared/templates/styleguide2/includes/organisms/header/people_header.html +++ b/shared/templates/styleguide2/includes/organisms/header/people_header.html @@ -27,7 +27,7 @@ {% block switch %} {% for content_item in content %} - {% if content_item.block_type == "octopus_group" or content_item.block_type == "people_group" or content_item.block_type == "team_group" %} + {% if content_item.block_type == "octopus_group" or content_item.block_type == "octopus_team" or content_item.block_type == "people_group" or content_item.block_type == "team_group" %} <a @click="toggleView('{{ content_item.value.slug }}-{{ forloop.counter }}')" class="switch__item {% if content|has_one_people_type %}hidden{% endif %}" -- GitLab