Commit 3b5d2ea0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

text for REMOVE buttons changed to icon

parent 8e425fd1
Pipeline #4264 passed with stage
in 1 minute and 5 seconds
......@@ -115,7 +115,7 @@ CommentsAdminPanel.prototype.commentToTableRow = function (comment) {
if (comment.isRemoved()) {
remove = "YES (" + comment.getRemoveReason() + ")";
} else {
remove = "<button name='removeComment' data='" + comment.getId() + "'>REMOVE</button>";
remove = "<button name='removeComment' data='" + comment.getId() + "'><i class='fa fa-trash-o' style='font-size:17px'></button>";
}
var author = comment.getAuthor();
......
......@@ -701,7 +701,7 @@ EditProjectDialog.prototype.overlayToTableRow = function (overlay, users) {
row[5] = creatorSelect;
row[6] = downloadSourceButton;
row[7] = "<button name='saveOverlay' data='" + id + "'><i class=\"fa fa-save\" style=\"font-size:17px\"></i></button>";
row[8] = "<button name='removeOverlay' data='" + id + "'>REMOVE</button>";
row[8] = "<button name='removeOverlay' data='" + id + "'><i class='fa fa-trash-o' style='font-size:17px'></button>";
return row;
};
......
......@@ -182,7 +182,7 @@ MapsAdminPanel.prototype.projectToTableRow = function (project, row) {
row[4] = status;
row[5] = "<button name='showEditDialog' data='" + project.getProjectId() + "'><i class='fa fa-edit' style='font-size:17px'></i></button>";
row[6] = "<button name='removeProject' data='" + project.getProjectId() + "'>REMOVE</button>";
row[6] = "<button name='removeProject' data='" + project.getProjectId() + "'><i class='fa fa-trash-o' style='font-size:17px'></button>";
return row;
};
......
......@@ -236,7 +236,7 @@ UsersAdminPanel.prototype.userToTableRow = function (user, row) {
row[2] = user.getSurname();
row[3] = user.getEmail();
row[4] = "<button name='showEditDialog' data='" + user.getLogin() + "'><i class='fa fa-edit' style='font-size:17px'></i></button>";
row[5] = "<button name='removeUser' data='" + user.getLogin() + "'>REMOVE</button>";
row[5] = "<button name='removeUser' data='" + user.getLogin() + "'><i class='fa fa-trash-o' style='font-size:17px'></i></button>";
return row;
};
......
Supports Markdown
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