mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
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:
parent
654d69a389
commit
884b1c67fb
@ -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 %}">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user