X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Ftemplates%2Fgeneral_help.html.twig;fp=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Ftemplates%2Fgeneral_help.html.twig;h=0b0168e44ed5e936c45c740d7b7f4ca8c2adeec3;hp=0000000000000000000000000000000000000000;hb=ba1b5c55c66590c41ccc9844d3e62391b0399abb;hpb=93ef30d42f68e55d11d97312531118bbcd4cf318 diff --git a/web/modules/contrib/security_review/templates/general_help.html.twig b/web/modules/contrib/security_review/templates/general_help.html.twig new file mode 100644 index 000000000..0b0168e44 --- /dev/null +++ b/web/modules/contrib/security_review/templates/general_help.html.twig @@ -0,0 +1,42 @@ +{# +/** + * @file + * Default general help page of Security Review. + * + * Available variables: + * - paragraphs: Array of paragraphs (strings) to show as an introduction. + * - items: Array of items (strings) to show in an unordered list after the + * paragraphs. + * - checks: Array of check links grouped by their namespaces. + */ +#} + +{% for paragraph in paragraphs %} +

+ {{ paragraph }} +

+{% endfor %} +

+ {% trans %} + Check-specific help + {% endtrans %} +

+

+ {% trans %} + Details and help on the security review checks. Checks are not always + perfectly correct in their procedure and result. Refer to drupal.org + handbook documentation if you are unsure how to make the recommended + alterations to your configuration or consult the module's README.txt for + support. + {% endtrans %} +

+{% if checks is not empty %} + {% for check_namespace in checks %} +

{{ check_namespace.namespace }}

+ + {% endfor %} +{% endif %}