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>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue