Mercurial > hg > isophonics-drupal-site
annotate core/modules/views_ui/templates/views-ui-display-tab-bucket.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 each "box" on the display query edit screen. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - attributes: HTML attributes to apply to the container element. |
Chris@0 | 8 * - actions: Action links such as "Add", "And/Or, Rearrange" for the content. |
Chris@0 | 9 * - title: The title of the bucket, e.g. "Fields", "Filter Criteria", etc. |
Chris@0 | 10 * - content: Content items such as fields or settings in this container. |
Chris@0 | 11 * - name: The name of the bucket, e.g. "Fields", "Filter Criteria", etc. |
Chris@0 | 12 * - overridden: A boolean indicating the setting has been overridden from the |
Chris@0 | 13 * default. |
Chris@0 | 14 * |
Chris@0 | 15 * @see template_preprocess_views_ui_display_tab_bucket() |
Chris@0 | 16 * |
Chris@0 | 17 * @ingroup themeable |
Chris@0 | 18 */ |
Chris@0 | 19 #} |
Chris@0 | 20 {% |
Chris@0 | 21 set classes = [ |
Chris@0 | 22 'views-ui-display-tab-bucket', |
Chris@0 | 23 name ? name|clean_class, |
Chris@0 | 24 overridden ? 'overridden', |
Chris@0 | 25 ] |
Chris@0 | 26 %} |
Chris@0 | 27 <div{{ attributes.addClass(classes) }}> |
Chris@0 | 28 {% if title -%} |
Chris@0 | 29 <h3 class="views-ui-display-tab-bucket__title">{{ title }}</h3> |
Chris@0 | 30 {%- endif %} |
Chris@0 | 31 {% if actions -%} |
Chris@0 | 32 {{ actions }} |
Chris@0 | 33 {%- endif %} |
Chris@0 | 34 {{ content }} |
Chris@0 | 35 </div> |