From ee48ec9a926ea857aff0bbc425006dfa1b5903b8 Mon Sep 17 00:00:00 2001 From: kinyaelgrande Date: Wed, 14 Dec 2022 16:30:26 +0300 Subject: [PATCH] fix authorized clients empty-list text view --- .../templates/authorized-clients.html.tpl | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/server/auth/assets/templates/authorized-clients.html.tpl b/server/auth/assets/templates/authorized-clients.html.tpl index d7a13bcf4..7edc2c44c 100644 --- a/server/auth/assets/templates/authorized-clients.html.tpl +++ b/server/auth/assets/templates/authorized-clients.html.tpl @@ -31,13 +31,16 @@ {{ tr "authorized-clients.template.list.buttons.revoke" }} -
- {{ tr "authorized-clients.template.list.empty" }} -
- {{ end }} - + {{ end }} + + + {{ if not .authorizedClients}} +
+ {{ tr "authorized-clients.template.list.empty" }} +
+ {{ end }} {{ template "inc_footer.html.tpl" . }}