mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Further improvements to the details page
This commit is contained in:
parent
660e4a0a3c
commit
e14f4315a8
10 changed files with 156 additions and 121 deletions
|
@ -15,7 +15,7 @@ define([
|
|||
'detailtablecss'], function () {
|
||||
|
||||
function defineRoute(newRoute) {
|
||||
var path = newRoute.path;
|
||||
var path = newRoute.alias ? newRoute.alias : newRoute.path;
|
||||
console.debug('defining route: ' + path);
|
||||
newRoute.dictionary = 'core';
|
||||
Emby.Page.addRoute(path, newRoute);
|
||||
|
@ -234,8 +234,9 @@ define([
|
|||
transition: 'fade'
|
||||
});
|
||||
defineRoute({
|
||||
path: '/itemdetails.html',
|
||||
controller: 'itemDetails',
|
||||
alias: '/details',
|
||||
path: '/controllers/itemDetails/itemDetails.html',
|
||||
controller: 'itemDetails/itemDetails',
|
||||
autoFocus: false,
|
||||
transition: 'fade'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue