mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update collapsibles
This commit is contained in:
parent
f719c43d23
commit
dfa0fdb33e
7 changed files with 48 additions and 51 deletions
|
@ -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>";
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
else if (hint.Type == "Series") {
|
||||
|
||||
return [Globalize.translate('LabelSeries')];
|
||||
return [Globalize.translate('Series')];
|
||||
}
|
||||
else if (hint.Type == "BoxSet") {
|
||||
|
||||
|
|
|
@ -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>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue