mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Create an option in settings to change home statistics length
This commit is contained in:
parent
a0bd94397c
commit
3fc2f43b79
4 changed files with 19 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
|||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="padded-header">
|
||||
<h3>Statistics <small>Last 30 days</small></h3>
|
||||
<h3>Statistics <small>Last ${config['home_stats_length']} days</small></h3>
|
||||
</div>
|
||||
<div id="home-stats" class="user-platforms">
|
||||
<div class='text-muted'><i class="fa fa-refresh fa-spin"></i> Loading stats...</div>
|
||||
|
@ -110,7 +110,7 @@
|
|||
});
|
||||
});
|
||||
|
||||
getHomeStats(30);
|
||||
getHomeStats(${config['home_stats_length']});
|
||||
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue