add recent downloads to __all__

This commit is contained in:
crflynn
2018-09-01 10:31:13 -04:00
parent 31e398c5d3
commit 97a94a202c

View File

@@ -20,7 +20,6 @@
{% endif %}
{% if package == "__all__" %}
<p>Download stats for __all__ indicate downloads across all packages on PyPI.</p>
<br>
{% else %}
<p>
{% if metadata %}
@@ -56,7 +55,9 @@
{% else %}
No metadata found.
{%endif%}
<br><br>
{% endif %}
<br>
<br>
Downloads last day:
{{"{:,.0f}".format(recent['day'])}}
<br>
@@ -66,7 +67,6 @@
Downloads last month:
{{"{:,.0f}".format(recent['month'])}}
</p>
{% endif %}
<script>
(function () {