Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/28c93aa94779527a27f068e768c32de893738a56?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
11 additions and
33 deletions
@ -5,12 +5,6 @@ define(
'sugar'
] , function ( Backbone ) {
return Backbone . Model . extend ( {
mutators : {
freeSpaceString : function ( ) {
return this . get ( 'freeSpace' ) . bytes ( 2 ) + ' Free' ;
}
} ,
defaults : {
freeSpace : 0
}
@ -2,7 +2,7 @@
{{path}}
< / td >
< td class = "span3 x-folder clickable" >
< span > {{freeSpaceString }}< / span >
< span > {{Bytes freeSpace}}< / span >
< / td >
< td class = "span1 nz-row-action" >
< div class = "btn btn-danger icon-minus x-remove" >
@ -1,14 +1,9 @@
'use strict' ;
define ( [ 'backbone' ] , function ( Backbone ) {
return Backbone . Model . extend ( {
/ * m u t a t o r s : {
seasonNumber : function ( ) {
return this . get ( 'episode' ) . seasonNumber ;
} ,
paddedEpisodeNumber : function ( ) {
return this . get ( 'episode' ) . episodeNumber . pad ( 2 ) ;
}
} * /
'use strict' ;
define (
[
'backbone'
] , function ( Backbone ) {
return Backbone . Model . extend ( {
} ) ;
} ) ;
} ) ;
@ -1,4 +1,4 @@
'use strict' ;
'use strict' ;
define (
[
'backbone'
@ -1,4 +1,4 @@
'use strict' ;
'use strict' ;
define (
[
'backbone' ,
@ -52,24 +52,13 @@ define(
isContinuing : function ( ) {
return this . get ( 'status' ) === 'continuing' ;
} ,
shortDate : function ( ) {
var date = this . get ( 'nextAiring' ) ;
if ( ! date ) {
return '' ;
}
return Date . create ( date ) . short ( ) ;
} ,
route : function ( ) {
return '/series/details/' + this . get ( 'titleSlug' ) ;
//return '/series/details/' + this.get('id');
} ,
qualityProfile : function ( ) {
var profile = QualityProfileCollection . get ( this . get ( 'qualityProfileId' ) ) ;
if ( profile ) {
return profile . toJSON ( ) ;
}