Mercurial > hg > isophonics-drupal-site
annotate core/themes/bartik/templates/status-messages.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
| author | Chris Cannam |
|---|---|
| date | Wed, 28 Aug 2019 13:14:47 +0100 |
| parents | c2387f117808 |
| children |
| rev | line source |
|---|---|
| Chris@0 | 1 {% extends "@classy/misc/status-messages.html.twig" %} |
| Chris@0 | 2 {# |
| Chris@0 | 3 /** |
| Chris@0 | 4 * @file |
| Chris@0 | 5 * Default theme implementation for status messages. |
| Chris@0 | 6 * |
| Chris@0 | 7 * Displays status, error, and warning messages, grouped by type. |
| Chris@0 | 8 * |
| Chris@0 | 9 * An invisible heading identifies the messages for assistive technology. |
| Chris@0 | 10 * Sighted users see a colored box. See http://www.w3.org/TR/WCAG-TECHS/H69.html |
| Chris@0 | 11 * for info. |
| Chris@0 | 12 * |
| Chris@0 | 13 * Add an ARIA label to the contentinfo area so that assistive technology |
| Chris@0 | 14 * user agents will better describe this landmark. |
| Chris@0 | 15 * |
| Chris@0 | 16 * Available variables: |
| Chris@0 | 17 * - message_list: List of messages to be displayed, grouped by type. |
| Chris@0 | 18 * - status_headings: List of all status types. |
| Chris@0 | 19 */ |
| Chris@0 | 20 #} |
| Chris@0 | 21 {% block messages %} |
| Chris@0 | 22 {% if message_list is not empty %} |
| Chris@0 | 23 {{ attach_library('bartik/messages') }} |
| Chris@0 | 24 <div class="messages__wrapper layout-container"> |
| Chris@0 | 25 {{ parent() }} |
| Chris@0 | 26 </div> |
| Chris@0 | 27 {% endif %} |
| Chris@0 | 28 {% endblock messages %} |
