annotate core/modules/help/templates/help-section.html.twig @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 {#
Chris@0 2 /**
Chris@0 3 * @file
Chris@0 4 * Default theme implementation for a section of the help page.
Chris@0 5 *
Chris@0 6 * Available variables:
Chris@0 7 * - title: The section title.
Chris@0 8 * - description: The description text for the section.
Chris@0 9 * - links: Links to display in the section.
Chris@0 10 * - empty: Text to display if there are no links.
Chris@0 11 *
Chris@0 12 * @ingroup themeable
Chris@0 13 */
Chris@0 14 #}
Chris@0 15 <h2>{{ title }}</h2>
Chris@0 16 <p>{{ description }}</p>
Chris@0 17 {% if links %}
Chris@0 18 <ul>
Chris@0 19 {% for link in links %}
Chris@0 20 <li>{{ link }}</li>
Chris@0 21 {% endfor %}
Chris@0 22 </ul>
Chris@0 23 {% else %}
Chris@0 24 <p>{{ empty }}</p>
Chris@0 25 {% endif %}