Version 1
[yaffs-website] / web / core / modules / system / templates / authorize-report.html.twig
diff --git a/web/core/modules/system/templates/authorize-report.html.twig b/web/core/modules/system/templates/authorize-report.html.twig
new file mode 100644 (file)
index 0000000..9144586
--- /dev/null
@@ -0,0 +1,23 @@
+{#
+/**
+ * @file
+ * Default theme implementation for authorize.php operation report templates.
+ *
+ * This report displays the results of an operation run via authorize.php.
+ *
+ * Available variables:
+ * - messages: A list of result messages.
+ * - attributes: HTML attributes for the element.
+ *
+ * @see template_preprocess_authorize_report()
+ *
+ * @ingroup themeable
+ */
+#}
+{% if messages %}
+  <div{{ attributes.addClass('authorize-results') }}>
+    {% for message_group in messages %}
+      {{ message_group }}
+    {% endfor %}
+  </div>
+{% endif %}