mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-03-12 22:06:55 +02:00
Merge pull request #76 from sharkykh/fix-file-list
Fix padding for single file in torrent file list
This commit is contained in:
commit
0093b2bf4f
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@
|
||||||
<i class="glyphicon glyphicon-folder-open"></i> <b>{{ key }}</b></td>
|
<i class="glyphicon glyphicon-folder-open"></i> <b>{{ key }}</b></td>
|
||||||
{{ loop(value.items()) }}
|
{{ loop(value.items()) }}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
<td style="padding-left: {{ loop.depth0 * 20 }}px">
|
<td{% if loop.depth0 is greaterthan 0 %} style="padding-left: {{ loop.depth0 * 20 }}px"{% endif %}>
|
||||||
<i class="glyphicon glyphicon-file"></i> {{ key }}</td>
|
<i class="glyphicon glyphicon-file"></i> {{ key }}</td>
|
||||||
<td class="col-md-2">{{ value | filesizeformat(True) }}</td>
|
<td class="col-md-2">{{ value | filesizeformat(True) }}</td>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue