From 889b5dc1c5b4d4c804d6293900b2956f6aa2364e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 25 Jan 2018 16:17:18 +0100 Subject: [PATCH] Removed redundant if around for --- src/templates/nodes/custom/texture/view_embed.pug | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/templates/nodes/custom/texture/view_embed.pug b/src/templates/nodes/custom/texture/view_embed.pug index 15e179f8..64d63079 100644 --- a/src/templates/nodes/custom/texture/view_embed.pug +++ b/src/templates/nodes/custom/texture/view_embed.pug @@ -43,7 +43,6 @@ i.pi-puzzle | {% if not node.properties.is_tileable %}Not {% endif %}Seamless - | {% if node.properties.files %} | {% for f in node.properties.files %} section.node-row.texture-map section.node-preview.texture @@ -105,14 +104,12 @@ i.pi-lock | Download | {% endif %} - | {% endfor %} | {% else %} section.node-row section.node-details-container.texture .node-details-header.nofiles .node-title No texture maps... yet! - - | {% endif %} + | {% endfor %} include ../_scripts @@ -197,4 +194,3 @@ script. }); | {% endblock %} -