Statistics: Add .csv download

This commit is contained in:
rubenwardy
2022-11-08 18:47:28 +00:00
parent 5fc603682d
commit 20bf16abbf
4 changed files with 33 additions and 4 deletions

View File

@@ -11,6 +11,10 @@
{% endblock %}
{% block content %}
<a class="btn btn-secondary float-right" href="{{ package.getURL('packages.stats_csv') }}">
<i class="fas fa-download mr-1"></i>
{{ _("Download (.csv)") }}
</a>
<h2 class="mt-0">{{ _("Statistics") }}</h2>
<noscript>
<p class="alert alert-danger">

View File

@@ -206,7 +206,7 @@
<span class="count">{{ _("Issue Tracker") }}</span>
</a>
{% endif %}
<a class="btn" href="{{ package.getURL('packages.stats') }}">
<a class="btn" href="{{ package.getURL('packages.statistics') }}">
<i class="fas fa-chart-line"></i>
<span class="count">{{ _("Statistics") }}</span>
</a>