From 8c15c35c5368adec6276a63e42dce21cb3345c1d Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 15 Feb 2012 15:27:43 +0000 Subject: [PATCH] if for some reasons admin or guest has been locked we must able to unlock with the ui git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1244533 13f79535-47bb-0310-9956-ffa450edef68 --- .../js/redback/templates/user-grids.html | 32 +++++-------------- 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html index e1a057ca2..f8ebd7494 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html @@ -50,41 +50,25 @@ {{/if}} {{if row.locked()==true}} - {{if row.username()=="admin" || row.username()=="guest"}} - - {{else}} - - {{/if}} + {{else}} - {{if row.username()=="admin" || row.username()=="guest"}} - - {{else}} - - {{/if}} + {{/if}} {{if row.passwordChangeRequired()==true}} - {{if row.username()=="admin" || row.username()=="guest"}} - - {{else}} - - - - {{/if}} + + + {{else}} - {{if row.username()=="admin" || row.username()=="guest"}} - - {{else}} - - - - {{/if}} + + + {{/if}} -- 2.39.5