mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update prompt dialog
This commit is contained in:
parent
1bc42f10d6
commit
719ed8d8bd
60 changed files with 285 additions and 206 deletions
|
@ -134,6 +134,34 @@
|
|||
query.IsKids = false;
|
||||
}
|
||||
|
||||
if (params.type == 'Recordings') {
|
||||
|
||||
if (params.IsMovie) {
|
||||
LibraryMenu.setTitle(Globalize.translate('TabMovies'));
|
||||
} else if (params.IsSports) {
|
||||
LibraryMenu.setTitle(Globalize.translate('Sports'));
|
||||
} else if (params.IsKids) {
|
||||
LibraryMenu.setTitle(Globalize.translate('HeaderForKids'));
|
||||
} else {
|
||||
LibraryMenu.setTitle(Globalize.translate('TabRecordings'));
|
||||
}
|
||||
|
||||
} else if (params.type == 'RecordingSeries') {
|
||||
|
||||
LibraryMenu.setTitle(Globalize.translate('TabSeries'));
|
||||
} else {
|
||||
|
||||
if (params.IsMovie) {
|
||||
LibraryMenu.setTitle(Globalize.translate('HeaderUpcomingMovies'));
|
||||
} else if (params.IsSports) {
|
||||
LibraryMenu.setTitle(Globalize.translate('HeaderUpcomingSports'));
|
||||
} else if (params.IsKids) {
|
||||
LibraryMenu.setTitle(Globalize.translate('HeaderUpcomingForKids'));
|
||||
} else {
|
||||
LibraryMenu.setTitle(Globalize.translate('HeaderUpcomingPrograms'));
|
||||
}
|
||||
}
|
||||
|
||||
var viewkey = getSavedQueryKey();
|
||||
|
||||
LibraryBrowser.loadSavedQueryValues(viewkey, query);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue