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) ...@@ -82,7 +82,7 @@ EditUserDialog.prototype.createGeneralTab = function (tabMenuDiv, tabContentDiv)
self.addTab({ self.addTab({
tabMenuDiv: tabMenuDiv, tabMenuDiv: tabMenuDiv,
tabContentDiv: tabContentDiv, tabContentDiv: tabContentDiv,
name: "Details", name: "DETAILS",
content: self.createGeneralTabContent() content: self.createGeneralTabContent()
}); });
...@@ -96,7 +96,7 @@ EditUserDialog.prototype.generateTabId = function (tab_name) { ...@@ -96,7 +96,7 @@ EditUserDialog.prototype.generateTabId = function (tab_name) {
if (login === undefined) { if (login === undefined) {
login = "new_user_" + (login_counter++); login = "new_user_" + (login_counter++);
} }
return login.replace(".", "_") + tab_name + "_TAB"; return login.replace(".", "_") + tab_name.replace(" ", "_") + "_TAB";
}; };
EditUserDialog.prototype.createPrivilegesTab = function (tabMenuDiv, tabContentDiv) { EditUserDialog.prototype.createPrivilegesTab = function (tabMenuDiv, tabContentDiv) {
...@@ -104,7 +104,7 @@ EditUserDialog.prototype.createPrivilegesTab = function (tabMenuDiv, tabContentD ...@@ -104,7 +104,7 @@ EditUserDialog.prototype.createPrivilegesTab = function (tabMenuDiv, tabContentD
self.addTab({ self.addTab({
tabMenuDiv: tabMenuDiv, tabMenuDiv: tabMenuDiv,
tabContentDiv: tabContentDiv, tabContentDiv: tabContentDiv,
name: "PRIVILEGES", name: "GLOBAL PRIVILEGES",
content: self.createPrivilegesTabContent() content: self.createPrivilegesTabContent()
}); });
...@@ -195,7 +195,8 @@ EditUserDialog.prototype.createGeneralTabContent = function () { ...@@ -195,7 +195,8 @@ EditUserDialog.prototype.createGeneralTabContent = function () {
EditUserDialog.prototype.createPrivilegesTabContent = function () { EditUserDialog.prototype.createPrivilegesTabContent = function () {
var self = this; var self = this;
var result = Functions.createElement({ var result = Functions.createElement({
type: "div" type: "div",
style: "margin-top:10px;"
}); });
result.appendChild(self._createPrivilegesTable()); result.appendChild(self._createPrivilegesTable());
return result; return result;
...@@ -224,7 +225,7 @@ EditUserDialog.prototype.createProjectsTab = function (tabMenuDiv, tabContentDiv ...@@ -224,7 +225,7 @@ EditUserDialog.prototype.createProjectsTab = function (tabMenuDiv, tabContentDiv
self.addTab({ self.addTab({
tabMenuDiv: tabMenuDiv, tabMenuDiv: tabMenuDiv,
tabContentDiv: tabContentDiv, tabContentDiv: tabContentDiv,
name: "PROJECTS", name: "PROJECT PRIVILEGES",
content: self.createProjectsTabContent() content: self.createProjectsTabContent()
}); });
}; };
...@@ -232,7 +233,8 @@ EditUserDialog.prototype.createProjectsTab = function (tabMenuDiv, tabContentDiv ...@@ -232,7 +233,8 @@ EditUserDialog.prototype.createProjectsTab = function (tabMenuDiv, tabContentDiv
EditUserDialog.prototype.createProjectsTabContent = function () { EditUserDialog.prototype.createProjectsTabContent = function () {
var self = this; var self = this;
var result = Functions.createElement({ var result = Functions.createElement({
type: "div" type: "div",
style: "margin-top:10px;"
}); });
result.appendChild(self._createProjectsTable()); result.appendChild(self._createProjectsTable());
return result; 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