From 4b8b82e577e2b7bf902870c2d2b5a86a8a1d3d40 Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Sun, 2 Apr 2023 02:05:51 +0200 Subject: [PATCH] ezidam: list apps: show confidentiality --- .../ezidam/templates/pages/admin/apps/list.html.tera | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/ezidam/templates/pages/admin/apps/list.html.tera b/crates/ezidam/templates/pages/admin/apps/list.html.tera index 02d2262..7dbc18e 100644 --- a/crates/ezidam/templates/pages/admin/apps/list.html.tera +++ b/crates/ezidam/templates/pages/admin/apps/list.html.tera @@ -60,6 +60,9 @@ + + + @@ -85,6 +88,13 @@ {{ app.created_at | date() }} {{ app.id }} + + {% if app.is_confidential == true %} + Private + {% else %} + Public + {% endif %} + {{ app.redirect_uri }} Details @@ -128,7 +138,7 @@ listClass: 'table-tbody', valueNames: ['sort-name', 'sort-status', {attr: 'data-date', name: 'sort-creation-date'}, - 'sort-id', 'sort-redirect-uri', + 'sort-id', 'sort-confidentiality', 'sort-redirect-uri', ] }); })