You are here

views-ui-view-info.html.twig in Drupal 10

Default theme implementation for basic administrative info about a View.

Available variables:

  • displays: List of displays.

File

core/modules/views_ui/templates/views-ui-view-info.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for basic administrative info about a View.
  5. *
  6. * Available variables:
  7. * - displays: List of displays.
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. <h3 class="views-ui-view-title" data-drupal-selector="views-table-filter-text-source">{{ view.label }}</h3>
  13. <div class="views-ui-view-displays">
  14. {% if displays %}
  15. {% trans %}
  16. Display
  17. {% plural displays %}
  18. Displays
  19. {% endtrans %}:
  20. <em>{{ displays|safe_join(', ') }}</em>
  21. {% else %}
  22. {{ 'None'|t }}
  23. {% endif %}
  24. </div>
  25. <div class="views-ui-view-machine-name">
  26. {{ 'Machine name:'|t }}
  27. <span data-drupal-selector="views-table-filter-text-source">{{ view.id }}</span>
  28. </div>

Related topics