Commit 32ae858f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

names of tab headers changed

parent 05d56e72
Pipeline #4293 passed with stage
in 1 minute and 6 seconds
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment