Commit 5b8f8da7 authored by Mikael Salson's avatar Mikael Salson

sample_set/all.html: Display number of files when all the results are displayed only

See #2941
parent 45fe4583
......@@ -72,8 +72,10 @@
</div>
<div class="db_block_right">
<br />
{{ =min(step, len(query)) }} {{=helper.get_type_display()}}s, {{ =total_file_count }} files ({{ =vidjil_utils.format_size(total_size) }})
<br />
{{ if len(query) <= step: }}
{{ =len(query) }} {{=helper.get_type_display()}}s, {{ =total_file_count }} files ({{ =vidjil_utils.format_size(total_size) }})
{{ pass }}
</div>
</div>
<div class="db_block_center">
......
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