Renamed 'child' to 'variation', since it's not about child nodes.

This commit is contained in:
2017-09-05 11:56:41 +02:00
parent 941fd8dd9c
commit 97564022c3

View File

@@ -50,15 +50,15 @@
i.pi-angle-down.icon-dropdown-menu i.pi-angle-down.icon-dropdown-menu
ul.dropdown-menu ul.dropdown-menu
| {% for child in node.file_variations %} | {% for variation in node.file_variations %}
li li
a(href="{{ child.link }}", a(href="{{ variation.link }}",
title="Download this format", title="Download this format",
download) download)
span.length {{ child.length | filesizeformat }} span.length {{ variation.length | filesizeformat }}
span.format {{ child.format }} span.format {{ variation.format }}
span.size {{ child.size }} span.size {{ variation.size }}
| {% endfor %} | {% endfor %}
| {% endif %} | {% endif %}