You are here

search-api-index.html.twig in Acquia Search 3.x

Same filename and directory in other branches
  1. 2.x templates/search-api-index.html.twig

Default theme implementation for displaying a search index.

Available variables:

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

See also

template_preprocess_search_api_index()

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 acquia_search_info_box %}
  17. {{ acquia_search_info_box }}
  18. {% endif %}
  19. {% if description %}
  20. <p class="description">{{ description|nl2br }}</p>
  21. {% endif %}
  22. {% if index_progress %}
  23. <h3>{{ 'Index status'|t }}</h3>
  24. <div class="search-api-index-status">{{ index_progress }}</div>
  25. {% endif %}
  26. {{ table }}