mirror of
https://github.com/LukeHagar/pypistats.dev.git
synced 2025-12-07 20:57:44 +00:00
still show agg downloads if metadata not found
This commit is contained in:
@@ -52,20 +52,20 @@
|
|||||||
{% if not loop.last %}|{% endif %}
|
{% if not loop.last %}|{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% 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'])}}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
No metadata found.
|
No metadata found.
|
||||||
{%endif%}
|
{%endif%}
|
||||||
</p>
|
<br><br>
|
||||||
{% endif %}
|
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>
|
<script>
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
@@ -92,4 +92,4 @@
|
|||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user