From e264ad6b3a8332dad63a6aceeb12fc281b85f7f3 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 5 Mar 2021 16:27:09 +0100 Subject: [PATCH] small improvement ui --- rowers/templates/templatelibrary.html | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/rowers/templates/templatelibrary.html b/rowers/templates/templatelibrary.html index 55754986..7fe46fa4 100644 --- a/rowers/templates/templatelibrary.html +++ b/rowers/templates/templatelibrary.html @@ -27,7 +27,7 @@

Sharing a session makes it available to all Rowsandall users on Self-Coach and Coach plans, so they can use it in their own training plans. You can make the session private again at any time, but users - can save your session in their own private libraries. + can save your session in their own private libraries. Click on the lock icon to toggle sharing/private.

@@ -36,11 +36,9 @@ - + - - @@ -59,9 +57,23 @@
Type Mode ValuePrivate/PublicPrivate/Shared Edit Copy to CalendarShareMake Private Delete
{{ ps.sessionvalue }} {{ ps.sessionunit }} {% if ps.is_public %} - + {% if ps.manager == request.user %} + + + + {% else %} + + {% endif %} {% else %} - + {% if ps.manager == request.user %} + + + + {% else %} + + {% endif %} {% endif %}