diff --git a/templates/internal/staff/notes/list-notes.html.twig b/templates/internal/staff/notes/list-notes.html.twig index 9a6de28..c79e0cd 100644 --- a/templates/internal/staff/notes/list-notes.html.twig +++ b/templates/internal/staff/notes/list-notes.html.twig @@ -16,9 +16,9 @@
{{ case.caseName }}
{% if app.user.id == staffId %} -
- -
+
+ +
{% endif %} @@ -28,6 +28,8 @@ Date + Supervisor Signed + Signed @@ -41,10 +43,40 @@ + + {% if n.supervisorSignDateTime %} + {{ n.supervisorSignDateTime|date('F j, Y h:i a') }} + {% endif %} + + + {% if n.workerSignDatetime %} + {{ n.workerSignDatetime|date('F j, Y h:i a') }} + {% endif %} + - - edit - + {% if isWorker and not n.workerSignDatetime %} + + edit + + + draw + + {% endif %} + {% if isWorker and n.workerSignDatetime %} + + visibility + + {% endif %} + {% if not isWorker and not n.supervisorSignDateTime %} + + draw + + {% endif %} + {% if not isWorker and n.supervisorSignDateTime %} + + visibility + + {% endif %} {% endfor %}