still show agg downloads if metadata not found

This commit is contained in:
crflynn
2018-04-28 01:35:06 -04:00
parent d257b596e4
commit e665b09909

View File

@@ -52,6 +52,9 @@
{% if not loop.last %}|{% endif %} {% if not loop.last %}|{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% else %}
No metadata found.
{%endif%}
<br><br> <br><br>
Downloads last day: Downloads last day:
{{"{:,.0f}".format(recent['day'])}} {{"{:,.0f}".format(recent['day'])}}
@@ -61,9 +64,6 @@
<br> <br>
Downloads last month: Downloads last month:
{{"{:,.0f}".format(recent['month'])}} {{"{:,.0f}".format(recent['month'])}}
{% else %}
No metadata found.
{%endif%}
</p> </p>
{% endif %} {% endif %}
<script> <script>