From 4e0ee7dc910d7baef7f8a2d22b6a6d50230efaac Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Wed, 16 Nov 2022 13:30:07 +0100 Subject: [PATCH] #230 Shared users not rendered on compensation * fixes non rendering of shared users on shared data --- .../templates/compensation/detail/compensation/view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compensation/templates/compensation/detail/compensation/view.html b/compensation/templates/compensation/detail/compensation/view.html index 759f7600..b40fc2f4 100644 --- a/compensation/templates/compensation/detail/compensation/view.html +++ b/compensation/templates/compensation/detail/compensation/view.html @@ -124,7 +124,7 @@ {% endfor %}
{% if has_access %} - {% for user in obj.users.all %} + {% for user in obj.intervention.shared_users %} {% include 'user/includes/contact_modal_button.html' %} {% endfor %} {% else %}