Skip to content
Snippets Groups Projects
Commit 7cedbc11 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

fix UI

parent 27ce16fd
No related branches found
No related tags found
2 merge requests!1151Release,!1150fix UI
Pipeline #19886 passed
...@@ -8,7 +8,7 @@ def is_first_people_type(content, forloop): ...@@ -8,7 +8,7 @@ def is_first_people_type(content, forloop):
first_people_type_position = None first_people_type_position = None
for position, item in enumerate(content): for position, item in enumerate(content):
if item.block_type in ("octopus_group", "people_group", "team_group"): if item.block_type in ("octopus_group", "octopus_team", "people_group", "team_group"):
if first_people_type_position is None: if first_people_type_position is None:
first_people_type_position = position first_people_type_position = position
break break
...@@ -27,7 +27,7 @@ def has_one_people_type(content): ...@@ -27,7 +27,7 @@ def has_one_people_type(content):
people_type_count = 0 people_type_count = 0
for item in content: for item in content:
if item.block_type in ("octopus_group", "people_group", "team_group"): if item.block_type in ("octopus_group", "octopus_team", "people_group", "team_group"):
people_type_count += 1 people_type_count += 1
if people_type_count > 1: if people_type_count > 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment