diff --git a/frontend-js/src/main/js/gui/admin/EditUserDialog.js b/frontend-js/src/main/js/gui/admin/EditUserDialog.js index 4995c26e344e6878190e0284ed346126e49376bd..83dc923fb4739a7a2f9952e5266a1da72b6303e8 100644 --- a/frontend-js/src/main/js/gui/admin/EditUserDialog.js +++ b/frontend-js/src/main/js/gui/admin/EditUserDialog.js @@ -82,7 +82,7 @@ EditUserDialog.prototype.createGeneralTab = function (tabMenuDiv, tabContentDiv) self.addTab({ tabMenuDiv: tabMenuDiv, tabContentDiv: tabContentDiv, - name: "Details", + name: "DETAILS", content: self.createGeneralTabContent() }); @@ -96,7 +96,7 @@ EditUserDialog.prototype.generateTabId = function (tab_name) { if (login === undefined) { login = "new_user_" + (login_counter++); } - return login.replace(".", "_") + tab_name + "_TAB"; + return login.replace(".", "_") + tab_name.replace(" ", "_") + "_TAB"; }; EditUserDialog.prototype.createPrivilegesTab = function (tabMenuDiv, tabContentDiv) { @@ -104,7 +104,7 @@ EditUserDialog.prototype.createPrivilegesTab = function (tabMenuDiv, tabContentD self.addTab({ tabMenuDiv: tabMenuDiv, tabContentDiv: tabContentDiv, - name: "PRIVILEGES", + name: "GLOBAL PRIVILEGES", content: self.createPrivilegesTabContent() }); @@ -195,7 +195,8 @@ EditUserDialog.prototype.createGeneralTabContent = function () { EditUserDialog.prototype.createPrivilegesTabContent = function () { var self = this; var result = Functions.createElement({ - type: "div" + type: "div", + style: "margin-top:10px;" }); result.appendChild(self._createPrivilegesTable()); return result; @@ -224,7 +225,7 @@ EditUserDialog.prototype.createProjectsTab = function (tabMenuDiv, tabContentDiv self.addTab({ tabMenuDiv: tabMenuDiv, tabContentDiv: tabContentDiv, - name: "PROJECTS", + name: "PROJECT PRIVILEGES", content: self.createProjectsTabContent() }); }; @@ -232,7 +233,8 @@ EditUserDialog.prototype.createProjectsTab = function (tabMenuDiv, tabContentDiv EditUserDialog.prototype.createProjectsTabContent = function () { var self = this; var result = Functions.createElement({ - type: "div" + type: "div", + style: "margin-top:10px;" }); result.appendChild(self._createProjectsTable()); return result;