Version 1
[yaffs-website] / web / modules / contrib / hacked / templates / hacked-report.html.twig
diff --git a/web/modules/contrib/hacked/templates/hacked-report.html.twig b/web/modules/contrib/hacked/templates/hacked-report.html.twig
new file mode 100644 (file)
index 0000000..a802c28
--- /dev/null
@@ -0,0 +1,25 @@
+{#
+/**
+ * @file
+ * Default theme implementation for the hacked status report.
+ *
+ * Available variables:
+ * - last_checked: Themed last time update data was checked.
+ * - no_updates_message: Message when there are no project updates.
+ * - project_types: A list of project types.
+ *   - label: The project type label.
+ *   - table: The project status table.
+ *
+ * @see template_preprocess_hacked_report()
+ *
+ * @ingroup themeable
+ */
+#}
+{{ last_checked }}
+
+{% for project_type in project_types %}
+    <h3>{{ project_type.label }}</h3>
+    {{ project_type.table }}
+{% else %}
+    <p>{{ no_updates_message }}</p>
+{% endfor %}