mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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 }}
|
{{ share.url }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</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">
|
<td class="share-operations">
|
||||||
<a class="share-edit btn btn-sm btn-default"
|
<a class="share-edit btn btn-sm btn-default"
|
||||||
href="{% url 'sharing:edit' share.name %}">
|
href="{% url 'sharing:edit' share.name %}">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user