Version 1
[yaffs-website] / web / core / modules / system / templates / status-report-counter.html.twig
diff --git a/web/core/modules/system/templates/status-report-counter.html.twig b/web/core/modules/system/templates/status-report-counter.html.twig
new file mode 100644 (file)
index 0000000..8489e49
--- /dev/null
@@ -0,0 +1,16 @@
+{#
+/**
+ * @file
+ * Default theme implementation for the status report counter.
+ *
+ * Available variables:
+ * - amount: The number shown on counter.
+ * - text: The text shown on counter.
+ * - severity: The severity of the counter.
+ *
+ * @ingroup themable
+ */
+#}
+<span class="system-status-counter__status-icon system-status-counter__status-icon--{{ severity }}"></span>
+<span>{{ amount }} {{ text }}</span>
+<a href="#{{ severity }}"><span class="visually-hidden">{{ text }} </span>Details</a>