Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/52c5c19b0a7fdee5c17db3c31378452f0c3909c2
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
20 additions and
1 deletions
@ -76,6 +76,10 @@ define(
size : 14 ,
animate : false
} ) ;
this . $ ( element ) . find ( '.chart' ) . tooltip ( {
title : 'Episode is downloading - {0}% {1}' . format ( event . progress . toFixed ( 1 ) , event . releaseTitle )
} ) ;
}
} ,
@ -109,6 +113,7 @@ define(
allDay : false ,
statusLevel : self . _getStatusLevel ( model , end ) ,
progress : self . _getDownloadProgress ( model ) ,
releaseTitle : self . _getReleaseTitle ( model ) ,
model : model
} ;
@ -163,6 +168,16 @@ define(
}
return 100 - ( downloading . get ( 'sizeleft' ) / downloading . get ( 'size' ) * 100 ) ;
} ,
_getReleaseTitle : function ( element ) {
var downloading = QueueCollection . findEpisode ( element . get ( 'id' ) ) ;
if ( ! downloading ) {
return '' ;
}
return downloading . get ( 'title' ) ;
}
} ) ;
} ) ;
@ -69,7 +69,7 @@ define(
if ( downloading ) {
var progress = 100 - ( downloading . get ( 'sizeleft' ) / downloading . get ( 'size' ) * 100 ) ;
this . $el . html ( '<div class="progress progress-purple" title="Episode is downloading - {0}% " data-container="body">'. format ( progress . toFixed ( 1 ) ) +
this . $el . html ( '<div class="progress progress-purple" title="Episode is downloading - {0}% {1} " data-container="body">'. format ( progress . toFixed ( 1 ) , downloading . get ( 'title' ) ) +
'<div class="bar" style="width: {0}%;"></div></div>' . format ( progress ) ) ;
return ;
}
@ -41,3 +41,7 @@
height : 1em;
line-height : 1em;
}
.tooltip-inner {
word-wrap: break-word;
}