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

This commit is contained in:
Sybren A. Stüvel 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
ul.dropdown-menu
| {% for child in node.file_variations %}
| {% for variation in node.file_variations %}
li
a(href="{{ child.link }}",
a(href="{{ variation.link }}",
title="Download this format",
download)
span.length {{ child.length | filesizeformat }}
span.length {{ variation.length | filesizeformat }}
span.format {{ child.format }}
span.size {{ child.size }}
span.format {{ variation.format }}
span.size {{ variation.size }}
| {% endfor %}
| {% endif %}