From 7516005008af2b1279b798b065a15269de09c68c Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 19 Jul 2021 17:48:38 +0200 Subject: [PATCH] manager: reorganize buttons on user details page (#55641) --- .../templates/authentic2/manager/user_detail.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/authentic2/manager/templates/authentic2/manager/user_detail.html b/src/authentic2/manager/templates/authentic2/manager/user_detail.html index cfd8d562..530b452c 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_detail.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_detail.html @@ -5,24 +5,21 @@ {{ block.super }} - - {% if view.can_delete %} - {% trans "Delete" %} - {% else %} - {% trans "Delete" %} - {% endif %} - + {% trans "Journal" %} {% if view.can_change %} {% trans "Edit" %} {% else %} {% trans "Edit" %} {% endif %} - {% endblock %} -- 2.20.1