From 36be4202da385aac5f17668e95e205f930998973 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 12 Dec 2011 16:12:27 +0000 Subject: [PATCH] fix user edit/creation form in admin part git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213293 13f79535-47bb-0310-9956-ffa450edef68 --- .../js/redback/templates/user-edit.html | 4 +-- .../js/redback/templates/user-grids.html | 1 + .../src/main/webapp/js/redback/user.js | 15 ++++++++++- .../src/main/webapp/js/redback/users.js | 27 ++++++------------- 4 files changed, 25 insertions(+), 22 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-edit.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-edit.html index 2a17d993e..115b3cb97 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-edit.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-edit.html @@ -4,7 +4,7 @@
- {{if $data.username}} + {{if $data.username.length>0}} ${$data.username} {{else}} @@ -55,6 +55,6 @@
- + 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 fde561086..ca6d41cf2 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 @@ -68,6 +68,7 @@ {{/each}} +