Merge pull request #378 from Ducz0r/lm-sci-802-fix

Add tooltips to samples column dropdown [SCI-802]
This commit is contained in:
Luka Murn 2017-01-04 11:30:04 +01:00 committed by GitHub
commit 09ef3b3ad5
2 changed files with 8 additions and 5 deletions

View file

@ -980,11 +980,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.save") %>"></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"
@ -1457,6 +1459,7 @@ en:
# application.
general:
save: "Save"
update: "Update"
edit: "Edit"
cancel: "Cancel"