Commit 2d3978f2 authored by Marko Kuder's avatar Marko Kuder
Browse files

output downloadall archive size if available

parent 40684257
......@@ -266,7 +266,8 @@
{% else %}
<a class="button w-230" disabled="disabled" title="{{ _('This download is not currently available') }}" href="#">
{% endif %}
<span class="icon-download"></span><strong>{{ _('Download all') }}</strong>
<span class="icon-download"></span><strong>{{ _('Download all') }}{% if zip_res.get('archiver') and not isinstance(zip_res['archiver'], string)
and zip_res['archiver'].get('size') %} ({{ zip_res['archiver']['size']|filesizeformat }}){% endif %}</strong>
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment