From 666da0addabc17e790bf7a8be04a23c4803a6025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 25 Jan 2018 16:17:26 +0100 Subject: [PATCH] Show status in texture view_embed --- src/templates/nodes/custom/texture/view_embed.pug | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/templates/nodes/custom/texture/view_embed.pug b/src/templates/nodes/custom/texture/view_embed.pug index 64d63079..9366070e 100644 --- a/src/templates/nodes/custom/texture/view_embed.pug +++ b/src/templates/nodes/custom/texture/view_embed.pug @@ -42,6 +42,13 @@ span.texture-info-seamless i.pi-puzzle | {% if not node.properties.is_tileable %}Not {% endif %}Seamless + span.texture-info-status + | {% if node.properties.status == 'published' %} + i.pi-laugh + | {% else %} + i.pi-displeased + | {% endif %} + | {{ node.properties.status }} | {% for f in node.properties.files %} section.node-row.texture-map