mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Add 'Series' button to Live TV menu off homesection (#372)
* Add Series button to main page * Fix typo * Fix typo
This commit is contained in:
parent
3ea6bb5094
commit
b592abbeff
@ -701,6 +701,11 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
|
||||
section: 'dvrschedule'
|
||||
}) + '" class="raised"><span>' + globalize.translate('Schedule') + '</span></a>';
|
||||
|
||||
html += '<a style="margin-left:.5em;margin-right:0;" is="emby-linkbutton" href="' + appRouter.getRouteUrl('livetv', {
|
||||
serverId: apiClient.serverId(),
|
||||
section: 'seriesrecording'
|
||||
}) + '" class="raised"><span>' + globalize.translate('Series') + '</span></a>';
|
||||
|
||||
html += '</div>';
|
||||
if (enableScrollX()) {
|
||||
html += '</div>';
|
||||
|
@ -1044,6 +1044,10 @@ var AppInfo = {};
|
||||
return "livetv.html?tab=4&serverId=" + options.serverId;
|
||||
}
|
||||
|
||||
if ("seriesrecording" === options.section) {
|
||||
return "livetv.html?tab=5&serverId=" + options.serverId;
|
||||
}
|
||||
|
||||
return "livetv.html?serverId=" + options.serverId;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user