Mercurial > hg > isophonics-drupal-site
annotate core/themes/stable/templates/admin/help-section.html.twig @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Theme override 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 #} |
Chris@0 | 13 <h2>{{ title }}</h2> |
Chris@0 | 14 <p>{{ description }}</p> |
Chris@0 | 15 {% if links %} |
Chris@0 | 16 <ul> |
Chris@0 | 17 {% for link in links %} |
Chris@0 | 18 <li>{{ link }}</li> |
Chris@0 | 19 {% endfor %} |
Chris@0 | 20 </ul> |
Chris@0 | 21 {% else %} |
Chris@0 | 22 <p>{{ empty }}</p> |
Chris@0 | 23 {% endif %} |