From 884b1c67fbd13be2e0b829f9aca583bca9af1c53 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Mon, 22 Jul 2019 12:09:23 +0530 Subject: [PATCH] sharing: Indicate public shares in listing of shares Signed-off-by: Joseph Nuthalapati Reviewed-by: James Valleroy --- plinth/modules/sharing/templates/sharing.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plinth/modules/sharing/templates/sharing.html b/plinth/modules/sharing/templates/sharing.html index 5ca2b7395..bd4dbc369 100644 --- a/plinth/modules/sharing/templates/sharing.html +++ b/plinth/modules/sharing/templates/sharing.html @@ -72,7 +72,13 @@ {{ share.url }} - {{ share.groups|join:", " }} + + {% if not share.groups %} + {% trans "public access" %} + {% else %} + {{ share.groups|join:", " }} + {% endif %} +