mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-06 04:21:09 +00:00
still show agg downloads if metadata not found
This commit is contained in:
@@ -52,20 +52,20 @@
|
||||
{% if not loop.last %}|{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<br><br>
|
||||
Downloads last day:
|
||||
{{"{:,.0f}".format(recent['day'])}}
|
||||
<br>
|
||||
Downloads last week:
|
||||
{{"{:,.0f}".format(recent['week'])}}
|
||||
<br>
|
||||
Downloads last month:
|
||||
{{"{:,.0f}".format(recent['month'])}}
|
||||
{% else %}
|
||||
No metadata found.
|
||||
{%endif%}
|
||||
</p>
|
||||
{% endif %}
|
||||
{%endif%}
|
||||
<br><br>
|
||||
Downloads last day:
|
||||
{{"{:,.0f}".format(recent['day'])}}
|
||||
<br>
|
||||
Downloads last week:
|
||||
{{"{:,.0f}".format(recent['week'])}}
|
||||
<br>
|
||||
Downloads last month:
|
||||
{{"{:,.0f}".format(recent['month'])}}
|
||||
</p>
|
||||
{% endif %}
|
||||
<script>
|
||||
|
||||
(function () {
|
||||
@@ -92,4 +92,4 @@
|
||||
};
|
||||
})();
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user