Version 1
[yaffs-website] / web / modules / contrib / hacked / templates / hacked-file-status.html.twig
diff --git a/web/modules/contrib/hacked/templates/hacked-file-status.html.twig b/web/modules/contrib/hacked/templates/hacked-file-status.html.twig
new file mode 100644 (file)
index 0000000..b7f075e
--- /dev/null
@@ -0,0 +1,16 @@
+<div{{ status.attributes.addClass('project-update__status') }}>
+  {%- if status.label -%}
+    <span>{{ status.label }}</span>
+  {%- endif %}
+  <span class="project-update__status-icon">
+    {{ status.icon }}
+  </span>
+</div>
+
+<div class="project-update__title">
+  {%- if file.url -%}
+    <a href="{{ file.url }}">{{ file.name }}</a>
+  {%- else -%}
+    {{ file.name }}
+  {%- endif %}
+</div>
\ No newline at end of file