mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
rename live tv page
This commit is contained in:
parent
4120f18fc9
commit
92861ec8de
@ -16,12 +16,12 @@
|
|||||||
<paper-tab><iron-icon icon="refresh"></iron-icon>${TabSeries}</paper-tab>
|
<paper-tab><iron-icon icon="refresh"></iron-icon>${TabSeries}</paper-tab>
|
||||||
</paper-tabs>
|
</paper-tabs>
|
||||||
<div class="legacyTabs" style="display:none;">
|
<div class="legacyTabs" style="display:none;">
|
||||||
<a href="livetvsuggested.html" class="ui-btn-active"><iron-icon icon="info"></iron-icon>${TabSuggestions}</a>
|
<a href="livetv.html" class="ui-btn-active"><iron-icon icon="info"></iron-icon>${TabSuggestions}</a>
|
||||||
<a href="livetvsuggested.html?tab=1"><iron-icon icon="grid-on"></iron-icon>${TabGuide}</a>
|
<a href="livetv.html?tab=1"><iron-icon icon="grid-on"></iron-icon>${TabGuide}</a>
|
||||||
<a href="livetvsuggested.html?tab=2"><iron-icon icon="live-tv"></iron-icon>${TabChannels}</a>
|
<a href="livetv.html?tab=2"><iron-icon icon="live-tv"></iron-icon>${TabChannels}</a>
|
||||||
<a href="livetvsuggested.html?tab=3"><iron-icon icon="slideshow"></iron-icon>${TabRecordings}</a>
|
<a href="livetv.html?tab=3"><iron-icon icon="slideshow"></iron-icon>${TabRecordings}</a>
|
||||||
<a href="livetvsuggested.html?tab=4"><iron-icon icon="schedule"></iron-icon>${TabScheduled}</a>
|
<a href="livetv.html?tab=4"><iron-icon icon="schedule"></iron-icon>${TabScheduled}</a>
|
||||||
<a href="livetvsuggested.html?tab=5"><iron-icon icon="refresh"></iron-icon>${TabSeries}</a>
|
<a href="livetv.html?tab=5"><iron-icon icon="refresh"></iron-icon>${TabSeries}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -745,7 +745,7 @@
|
|||||||
var id = item.Id || item.ItemId;
|
var id = item.Id || item.ItemId;
|
||||||
|
|
||||||
if (item.CollectionType == 'livetv') {
|
if (item.CollectionType == 'livetv') {
|
||||||
return 'livetvsuggested.html';
|
return 'livetv.html';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.CollectionType == 'channels') {
|
if (item.CollectionType == 'channels') {
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
ApiClient.createLiveTvSeriesTimer(item).done(function () {
|
ApiClient.createLiveTvSeriesTimer(item).done(function () {
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
Dashboard.navigate('livetvsuggested.html');
|
Dashboard.navigate('livetv.html');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -134,7 +134,7 @@
|
|||||||
ApiClient.createLiveTvTimer(item).done(function () {
|
ApiClient.createLiveTvTimer(item).done(function () {
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
Dashboard.navigate('livetvsuggested.html');
|
Dashboard.navigate('livetv.html');
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -153,9 +153,9 @@
|
|||||||
if (LibraryBrowser.navigateOnLibraryTabSelect()) {
|
if (LibraryBrowser.navigateOnLibraryTabSelect()) {
|
||||||
|
|
||||||
if (selected) {
|
if (selected) {
|
||||||
Dashboard.navigate('livetvsuggested.html?tab=' + selected);
|
Dashboard.navigate('livetv.html?tab=' + selected);
|
||||||
} else {
|
} else {
|
||||||
Dashboard.navigate('livetvsuggested.html');
|
Dashboard.navigate('livetv.html');
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
Dashboard.alert(Globalize.translate('MessageRecordingCancelled'));
|
Dashboard.alert(Globalize.translate('MessageRecordingCancelled'));
|
||||||
|
|
||||||
Dashboard.navigate('livetvsuggested.html');
|
Dashboard.navigate('livetv.html');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -341,12 +341,12 @@
|
|||||||
function showCommand(result) {
|
function showCommand(result) {
|
||||||
|
|
||||||
if (result.category == 'tvguide') {
|
if (result.category == 'tvguide') {
|
||||||
Dashboard.navigate('livetvsuggested.html');
|
Dashboard.navigate('livetv.html');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.category == 'recordings') {
|
if (result.category == 'recordings') {
|
||||||
Dashboard.navigate('livetvsuggested.html');
|
Dashboard.navigate('livetv.html');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user