Skip to content
Snippets Groups Projects
Verified Commit cb7a8e7f authored by Lukas Weichelt's avatar Lukas Weichelt Committed by Jonathan Weth
Browse files

Simplify if statement

(cherry picked from commit ec36c8f5)
parent 3fdb8a22
No related branches found
No related tags found
No related merge requests found
......@@ -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