You are here

search-api-index.html.twig in Search API 8

Default theme implementation for displaying a search index.

Available variables:

  • table: The index info table.
  • description: The index description.
  • index_progress: The index progress.

File

templates/search-api-index.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for displaying a search index.
  5. *
  6. * Available variables:
  7. * - table: The index info table.
  8. * - description: The index description.
  9. * - index_progress: The index progress.
  10. *
  11. * @see template_preprocess_search_api_index()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. {% if description %}
  17. <p class="description">{{ description|nl2br }}</p>
  18. {% endif %}
  19. {% if index_progress %}
  20. <h3>{{ 'Index status'|t }}</h3>
  21. <div class="search-api-index-status">{{ index_progress }}</div>
  22. {% endif %}
  23. {{ table }}