Blame templates/html/htmljssearchdata.tpl

Packit 1c1d7e
{# input: si: SymbolIndex #}
Packit 1c1d7e
var indexSectionsWithContent =
Packit 1c1d7e
{
Packit 1c1d7e
{% set count=0 %}
Packit 1c1d7e
{% for idx in searchIndices %}
Packit 1c1d7e
  {% if idx.symbolIndices %}
Packit 1c1d7e
    {{ count }}:"{% for si in idx.symbolIndices %}{{ si.letter }}{% endfor %}"{%if not forloop.last %},{% endif %}
Packit 1c1d7e
    {% set count=count+1 %}
Packit 1c1d7e
  {% endif %}
Packit 1c1d7e
{% endfor %}
Packit 1c1d7e
};
Packit 1c1d7e
var indexSectionNames =
Packit 1c1d7e
{
Packit 1c1d7e
{% set count=0 %}
Packit 1c1d7e
{% for idx in searchIndices %}
Packit 1c1d7e
  {% if idx.symbolIndices %}
Packit 1c1d7e
    {{ count }}:"{{ idx.name }}"{% if not forloop.last %},{% endif %}
Packit 1c1d7e
    {% set count=count+1 %}
Packit 1c1d7e
  {% endif %}
Packit 1c1d7e
{% endfor %}
Packit 1c1d7e
};
Packit 1c1d7e
var indexSectionLabels =
Packit 1c1d7e
{
Packit 1c1d7e
{% set count=0 %}
Packit 1c1d7e
{% for idx in searchIndices %}
Packit 1c1d7e
  {% if idx.symbolIndices %}
Packit 1c1d7e
    {{ count }}:"{{ idx.text }}"{% if not forloop.last %},{% endif %}
Packit 1c1d7e
    {% set count=count+1 %}
Packit 1c1d7e
  {% endif %}
Packit 1c1d7e
{% endfor %}
Packit 1c1d7e
};