Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/837626fda3ec20203fa117218b436dfe5b8af618
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
55 additions and
14 deletions
@ -7,15 +7,36 @@
< / ul >
< / div >
< div class = "series-stats span 3 ">
< div class = "series-stats span 2 ">
< dl class = "dl-horizontal" >
< dt > Series< / dt >
< dd > {{count}}< / dd >
< dd > {{series}}< / dd >
< dt > Ended< / dt >
< dd > {{ended}}< / dd >
< dt > Continuing< / dt >
< dd > {{continuing}}< / dd >
< / dl >
< / div >
< div class = "series-stats span2" >
< dl class = "dl-horizontal" >
< dt > Monitored< / dt >
< dd > {{monitored}}< / dd >
< dt > Unmonitored< / dt >
< dd > {{unmonitored}}< / dd >
< / dl >
< / div >
< div class = "series-stats span2" >
< dl class = "dl-horizontal" >
< dt > Episodes< / dt >
< dd > {{episodeCount}}< / dd >
< dd > {{episodes}}< / dd >
< dt > Files< / dt >
< dd > {{episodeFileCount}}< / dd >
< dd > {{episodeFiles }}< / dd >
< / dl >
< / div >
< / div >
@ -230,18 +230,38 @@ define(
_showFooter : function ( ) {
var footerModel = new FooterModel ( ) ;
var episodeCount = _ . reduce ( SeriesCollection . models , function ( memo , model ) {
return memo + model . get ( 'episodeCount' ) ;
} , 0 ) ;
var series = SeriesCollection . models . length ;
var episodes = 0 ;
var episodeFiles = 0 ;
var ended = 0 ;
var continuing = 0 ;
var monitored = 0 ;
var episodeFileCount = _ . reduce ( SeriesCollection . models , function ( memo , model ) {
return memo + model . get ( 'episodeFileCount' ) ;
} , 0 ) ;
_ . each ( SeriesCollection . models , function ( model ) {
episodes += model . get ( 'episodeCount' ) ;
episodeFiles += model . get ( 'episodeFileCount' ) ;
if ( model . get ( 'status' ) . toLowerCase ( ) === 'ended' ) {
ended ++ ;
}
else {
continuing ++ ;
}
if ( model . get ( 'monitored' ) ) {
monitored ++ ;
}
} ) ;
footerModel . set ( {
count : SeriesCollection . models . length ,
episodeCount : episodeCount ,
episodeFileCount : episodeFileCount
series : series ,
ended : ended ,
continuing : continuing ,
monitored : monitored ,
unmonitored : series - monitored ,
episodes : episodes ,
episodeFiles : episodeFiles
} ) ;
this . footer . show ( new FooterView ( { model : footerModel } ) ) ;