From 97564022c321dbb94c8e2e55ee0fd63dee63bb42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 5 Sep 2017 11:56:41 +0200 Subject: [PATCH] Renamed 'child' to 'variation', since it's not about child nodes. --- src/templates/nodes/custom/_node_details.pug | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/templates/nodes/custom/_node_details.pug b/src/templates/nodes/custom/_node_details.pug index 719f8ef5..75b92065 100644 --- a/src/templates/nodes/custom/_node_details.pug +++ b/src/templates/nodes/custom/_node_details.pug @@ -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 %}