Skip to content
Snippets Groups Projects
Verified Commit 43915d44 authored by jindra12's avatar jindra12
Browse files

Fix people group block

+ also fix minor condition in uniweb person page

#232
parent 77a692bd
No related branches found
No related tags found
2 merge requests!861Release: New homepage design,!840Fix people group block
Pipeline #15844 passed
......@@ -2,7 +2,7 @@
<h2 class="head-heavy-base mb-4">
{{ self.group_title }}
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 row-gap-8 col-gap-8">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{% for person_details in self.person_list %}
{% with person_details.person as person_page %}
{% include "shared/person_badge_snippet.html" with title=person_details.position|default:person_page.job_function %}
......
......@@ -112,7 +112,7 @@
</div>
{% endif %}
{% if page.phone or page.email and page.show_email %}
{% if page.phone or page.city or page.email and page.show_email %}
<hr>
<div class="content-block">
<div class="space-y-4">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment