s.PAGE_TITLE_DYNAMIC_AND_CONTEXT = "[% l('[_1] - [_2]', '{{dynamic}}', '{{context}}') %]";
s.CONFIRM_LONG_RUNNING_ACTION_MSG = "[% l('This action might take a while to complete. Continue?') %]";
s.CONFIRM_LONG_RUNNING_ACTION_ALL_ROWS_TITLE = "[% l('Are you sure you want to load ALL items?') %]";
+ s.STOP_FINES_LOST = "[% l('Lost Materials') %]";
+ s.STOP_FINES_LONGOVERDUE = "[% l('Long Overdue') %]";
+ s.CIRC_OVERDUE = "[% l('Overdue') %]";
s.YES = "[% l('Yes') %]";
s.NO = "[% l('No') %]";
}]);
isEnabled: true,
template: function(item) {
var icon = '';
+ var text = '';
if (item['circulation.due_date'] && !item['circulation.checkin_time']) {
if (item['circulation.stop_fines'] == "LOST") {
icon = 'glyphicon-question-sign';
+ text = egCore.strings.STOP_FINES_LOST;
} else if (item['circulation.stop_fines'] == "LONGOVERDUE") {
icon = 'glyphicon-exclamation-sign';
+ text = egCore.strings.STOP_FINES_LONGOVERDUE;
} else {
icon = 'glyphicon-time';
+ text = egCore.strings.CIRC_OVERDUE;
}
}
- return "<i class='glyphicon " + icon + "'></i>"
+ return "<i class='glyphicon " + icon + "' title='" + text + "' aria-hidden='true'></i><span class='sr-only'>" + text + "</span>";
}
}