mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-22 12:44:25 +00:00
fix single file torrents display #11
This commit is contained in:
parent
0609d5775f
commit
69214e8058
@ -215,8 +215,18 @@
|
|||||||
{{ 'Files'|trans }}
|
{{ 'Files'|trans }}
|
||||||
</div>
|
</div>
|
||||||
<div class="padding-y-16-px">
|
<div class="padding-y-16-px">
|
||||||
{% for tree in file.tree %}
|
{% for key, value in file.tree %}
|
||||||
{{ recursive_file_tree(tree) }}
|
{% if value is iterable %}
|
||||||
|
{{ recursive_file_tree(value) }}
|
||||||
|
{% else %}
|
||||||
|
<div class="padding-y-4-px cursor-default">
|
||||||
|
{{ key }}
|
||||||
|
<div class="float-right">
|
||||||
|
{{ value | format_bytes }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<div class="padding-y-8-px border-bottom-default text-right">
|
<div class="padding-y-8-px border-bottom-default text-right">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user