#180 Shared data users hidden
* implements hidden visibility of shared users on non-shared entries
This commit is contained in:
@@ -129,9 +129,16 @@
|
||||
{% include 'user/includes/team_data_modal_button.html' %}
|
||||
{% endfor %}
|
||||
<hr>
|
||||
{% for user in obj.users.all %}
|
||||
{% include 'user/includes/contact_modal_button.html' %}
|
||||
{% endfor %}
|
||||
{% if has_access %}
|
||||
{% for user in obj.users.all %}
|
||||
{% include 'user/includes/contact_modal_button.html' %}
|
||||
{% endfor %}
|
||||
{% 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' %}
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user