Skip to content
Snippets Groups Projects
Verified Commit ec36c8f5 authored by Lukas Weichelt's avatar Lukas Weichelt
Browse files

Simplify if statement

parent 70af2427
No related branches found
No related tags found
1 merge request!1094Resolve "Show also group ownerships on person detail page"
Pipeline #92929 passed
......@@ -241,7 +241,7 @@
{% endif %}
{% has_perm 'core.view_person_groups_rule' user person as can_view_groups %}
{% if can_view_groups and groups.count or can_view_groups and person.owner_of_recursive.count or can_view_groups and person.owner_of_recursive.count and groups.count %}
{% if can_view_groups %}
<div class="col s12 m6 l4">
{% if groups.count %}
<div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment