From 4de802c68d8906bd44c4539d3130a8c7ca2bd1ef Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 25 Jul 2021 20:26:01 +0100 Subject: [PATCH] Add total downloads number on profiles with <50k --- app/templates/users/profile.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/templates/users/profile.html b/app/templates/users/profile.html index e750353e..5070488b 100644 --- a/app/templates/users/profile.html +++ b/app/templates/users/profile.html @@ -217,6 +217,17 @@ + {% elif total_downloads > 0 and current_user == user %} +
+

+ {{ _("Your packages have %(downloads)d downloads in total.", downloads=total_downloads) }} +{#

#} +{#
#} +{#
#} +

+
{% endif %} {% if min_package_rank is not none and min_package_rank <= 30 %} {% if min_package_rank <= 5 %}