1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update collapsibles

This commit is contained in:
Luke Pulverenti 2016-04-09 16:20:19 -04:00
parent f719c43d23
commit dfa0fdb33e
7 changed files with 48 additions and 51 deletions

View file

@ -127,10 +127,10 @@
.replace("{1}", humane_elapsed(task.LastExecutionResult.StartTimeUtc, task.LastExecutionResult.EndTimeUtc));
if (task.LastExecutionResult.Status == "Failed") {
html += " <span style='color:#FF0000;'>" + Globalize.translate('LabelFailed') + "</span>";
html += " <span style='color:#FF0000;'>(" + Globalize.translate('LabelFailed') + ")</span>";
}
else if (task.LastExecutionResult.Status == "Cancelled") {
html += " <span style='color:#0026FF;'>" + Globalize.translate('LabelCancelled') + "</span>";
html += " <span style='color:#0026FF;'>(" + Globalize.translate('LabelCancelled') + ")</span>";
}
else if (task.LastExecutionResult.Status == "Aborted") {
html += " <span style='color:#FF0000;'>" + Globalize.translate('LabelAbortedByServerShutdown') + "</span>";

View file

@ -44,7 +44,7 @@
}
else if (hint.Type == "Series") {
return [Globalize.translate('LabelSeries')];
return [Globalize.translate('Series')];
}
else if (hint.Type == "BoxSet") {

View file

@ -59,10 +59,10 @@
var lastResult = task.LastExecutionResult ? task.LastExecutionResult.Status : '';
if (lastResult == "Failed") {
options.lastResultElem.html('<span style="color:#FF0000;">' + Globalize.translate('LabelFailed') + '</span>');
options.lastResultElem.html('<span style="color:#FF0000;">(' + Globalize.translate('LabelFailed') + ')</span>');
}
else if (lastResult == "Cancelled") {
options.lastResultElem.html('<span style="color:#0026FF;">' + Globalize.translate('LabelCancelled') + '</span>');
options.lastResultElem.html('<span style="color:#0026FF;">(' + Globalize.translate('LabelCancelled') + ')</span>');
}
else if (lastResult == "Aborted") {
options.lastResultElem.html('<span style="color:#FF0000;">' + Globalize.translate('LabelAbortedByServerShutdown') + '</span>');