From 676a76acf329069f732e7bae9103ec57f72cfe04 Mon Sep 17 00:00:00 2001
From: mpeltriaux <michel.peltriaux@sgdnord.rlp.de>
Date: Thu, 2 Feb 2023 16:34:09 +0100
Subject: [PATCH] Bugfix

* fixes rendering of shared users counter on unshared compensation entries
---
 .../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 b40fc2f4..26800a83 100644
--- a/compensation/templates/compensation/detail/compensation/view.html
+++ b/compensation/templates/compensation/detail/compensation/view.html
@@ -130,7 +130,7 @@
                             {% else %}
                             <span title="{% trans 'The data must be shared with you, if you want to see which other users have shared access as well.' %}">
                                 {% fa5_icon 'eye-slash' %}
-                                {{obj.users.count}} {% trans 'other users' %}
+                                {{obj.intervention.users.count}} {% trans 'other users' %}
                             </span>
                             {% endif %}
                         </td>