Add tooltips to samples column dropdown

Closes SCI-802.
This commit is contained in:
Luka Murn 2016-12-27 08:45:23 +01:00
parent 4b50c73474
commit 2304742d87
2 changed files with 7 additions and 5 deletions

View file

@ -975,11 +975,11 @@ function changeToEditMode() {
'<span class="text">' + generateColumnNameTooltip(thederName) + '</span> ' +
'<span class="form-group"><input type="text" class="text-edit form-control" style="display: none;" />' +
'<span class="pull-right controls">' +
'<span class="ok glyphicon glyphicon-ok" style="display: none;"></span>' +
'<span class="cancel glyphicon glyphicon-remove" style="display: none;"></span>' +
'<span class="vis glyphicon ' + visClass + '"></span> ' +
'<span class="edit glyphicon glyphicon-pencil ' + editClass + '"></span>' +
'<span class="del glyphicon glyphicon-trash ' + delClass + '"></span>' +
'<span class="ok glyphicon glyphicon-ok" style="display: none;" title="<%= I18n.t("general.update") %>"></span>' +
'<span class="cancel glyphicon glyphicon-remove" style="display: none;" title="<%= I18n.t("general.cancel") %>"></span>' +
'<span class="vis glyphicon ' + visClass + '" title="<%= I18n.t("samples.columns_visibility") %>"></span> ' +
'<span class="edit glyphicon glyphicon-pencil ' + editClass + '" title="<%= I18n.t("general.edit") %>"></span>' +
'<span class="del glyphicon glyphicon-trash ' + delClass + '" title="<%= I18n.t("samples.columns_delete") %>"></span>' +
'</span><br></span></li>';
dropdownList.append(html);
}

View file

@ -805,6 +805,8 @@ en:
samples:
columns: "Columns"
columns_visibility: "Toggle visibility"
columns_delete: "Delete"
types_and_groups: "Types and groups"
actions: "Actions"
add_new_sample: "Add new sample"