diff --git a/app/public/static/package_stats.js b/app/public/static/package_stats.js index 4a7dccc6..c58f77e4 100644 --- a/app/public/static/package_stats.js +++ b/app/public/static/package_stats.js @@ -40,6 +40,7 @@ async function load_data() { - json.reason_update[i]); document.getElementById("loading").style.display = "none"; + root.style.display = "block"; function getData(list) { return list.map((value, i) => ({ x: json.dates[i], y: value })); diff --git a/app/templates/packages/stats.html b/app/templates/packages/stats.html index c07988ee..0b15e545 100644 --- a/app/templates/packages/stats.html +++ b/app/templates/packages/stats.html @@ -1,17 +1,17 @@ {% extends "packages/package_base.html" %} {% block title %} -{{ _("Statistics") }} +{{ _("Statistics") }} - {{ package.title }} {% endblock %} {% block scriptextra %} - + {% endblock %} {% block content %} -