Add downloads column to Package

Fixes #200
This commit is contained in:
rubenwardy
2020-07-09 01:11:50 +01:00
parent bbf1143090
commit 2617c53abf
6 changed files with 45 additions and 13 deletions

View File

@@ -63,7 +63,7 @@
</a>
<a class="btn" rel="nofollow" href="{{ package.getDownloadURL() }}">
<i class="fas fa-download"></i>
<span class="count">{{ package.getDownloadCount() }}</span>
<span class="count">{{ package.downloads }}</span>
</a>
<a class="btn" href="{{ url_for('threads.list_all', pid=package.id) }}">
<i class="fas fa-comment-alt"></i>