Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/be6d5aa4c266b7285310f77c38699bbbe942223c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
27 additions and
6 deletions
@ -8,8 +8,9 @@ define(
'Cells/EventTypeCell' ,
'Cells/QualityCell' ,
'Cells/RelativeDateCell' ,
'Episode/Activity/NoActivityView' ,
'Shared/LoadingView'
] , function ( App , Marionette , Backgrid , HistoryCollection , EventTypeCell , QualityCell , RelativeDateCell , LoadingView) {
] , function ( App , Marionette , Backgrid , HistoryCollection , EventTypeCell , QualityCell , RelativeDateCell , NoActivityView, LoadingView) {
return Marionette . Layout . extend ( {
template : 'Episode/Activity/EpisodeActivityLayoutTemplate' ,
@ -57,11 +58,17 @@ define(
} ,
_showTable : function ( ) {
this . activityTable . show ( new Backgrid . Grid ( {
collection : this . collection ,
columns : this . columns ,
className : 'table table-hover table-condensed'
} ) ) ;
if ( this . collection . any ( ) ) {
this . activityTable . show ( new Backgrid . Grid ( {
collection : this . collection ,
columns : this . columns ,
className : 'table table-hover table-condensed'
} ) ) ;
}
else {
this . activityTable . show ( new NoActivityView ( ) ) ;
}
}
} ) ;
} ) ;
@ -0,0 +1,11 @@
'use strict' ;
define (
[
'marionette'
] , function ( Marionette ) {
return Marionette . ItemView . extend ( {
template : 'Episode/Activity/NoActivityViewTemplate'
} ) ;
} ) ;
@ -0,0 +1,3 @@
< p class = "text-warning" >
No activity for this episode.
< / p >