Skip to content
Snippets Groups Projects
Commit 8ac551e1 authored by ynerant's avatar ynerant
Browse files

Hide activity creater if the user is not able to validate it

parent 805ceda2
No related branches found
No related tags found
1 merge request!104Beta
Pipeline #8522 passed with warnings with stages
in 5 minutes and 38 seconds
......@@ -28,7 +28,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<dt class="col-xl-6">{% trans 'end date'|capfirst %}</dt>
<dd class="col-xl-6">{{ activity.date_end }}</dd>
{% if ".view_"|has_perm:activity.creater %}
{% if "activity.change_activity_valid"|has_perm:activity %}
<dt class="col-xl-6">{% trans 'creater'|capfirst %}</dt>
<dd class="col-xl-6"><a href="{% url "member:user_detail" pk=activity.creater.pk %}">{{ activity.creater }}</a></dd>
{% endif %}
......
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