sharing: Indicate public shares in listing of shares

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2019-07-22 12:09:23 +05:30 committed by James Valleroy
parent 654d69a389
commit 884b1c67fb
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -72,7 +72,13 @@
{{ share.url }}
</a>
</td>
<td class="share-groups">{{ share.groups|join:", " }}</td>
<td class="share-groups">
{% if not share.groups %}
<i>{% trans "public access" %}</i>
{% else %}
{{ share.groups|join:", " }}
{% endif %}
</td>
<td class="share-operations">
<a class="share-edit btn btn-sm btn-default"
href="{% url 'sharing:edit' share.name %}">