v1/web/modules/contrib/search_api/templates/search-api-index.html.twig

24 lines
538 B
Twig

{#
/**
* @file
* 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 template_preprocess_search_api_index()
*
* @ingroup themeable
*/
#}
{% if description %}
<p class="description">{{ description|nl2br }}</p>
{% endif %}
{% if index_progress %}
<h3>{{ 'Index status'|t }}</h3>
<div class="search-api-index-status">{{ index_progress }}</div>
{% endif %}
{{ table }}