mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new device profiles
This commit is contained in:
parent
b9ac022c81
commit
433cee5164
17 changed files with 296 additions and 313 deletions
|
@ -17,7 +17,6 @@
|
|||
});
|
||||
|
||||
$('#divMediaLibrary', page).show();
|
||||
Dashboard.setPageTitle("Media Library");
|
||||
},
|
||||
|
||||
shouldRefreshLibraryAfterChanges: function () {
|
||||
|
@ -55,8 +54,8 @@
|
|||
changeCollectionType: function () {
|
||||
|
||||
Dashboard.alert({
|
||||
message: "To change the folder type, please remove and rebuild the collection with the new type.",
|
||||
title: "Change Folder Type"
|
||||
message: Globalize.translate('HeaderChangeFolderTypeHelp'),
|
||||
title: Globalize.translate('HeaderChangeFolderType')
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -380,13 +379,13 @@ var WizardLibraryPage = {
|
|||
var lastResult = task.LastExecutionResult ? task.LastExecutionResult.Status : '';
|
||||
|
||||
if (lastResult == "Failed") {
|
||||
$('.lastRefreshResult', page).html('<span style="color:#FF0000;">(failed)</span>');
|
||||
$('.lastRefreshResult', page).html('<span style="color:#FF0000;">' + Globalize.translate('LabelFailed') + '</span>');
|
||||
}
|
||||
else if (lastResult == "Cancelled") {
|
||||
$('.lastRefreshResult', page).html('<span style="color:#0026FF;">(cancelled)</span>');
|
||||
$('.lastRefreshResult', page).html('<span style="color:#0026FF;">' + Globalize.translate('LabelCancelled') + '</span>');
|
||||
}
|
||||
else if (lastResult == "Aborted") {
|
||||
$('.lastRefreshResult', page).html('<span style="color:#FF0000;">(Aborted by server shutdown)</span>');
|
||||
$('.lastRefreshResult', page).html('<span style="color:#FF0000;">' + Globalize.translate('LabelAbortedByServerShutdown') + '</span>');
|
||||
} else {
|
||||
$('.lastRefreshResult', page).html(lastResult);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue