{% macro render_revision(revision, list_link, search, index, organization_id) %} {% if revision %} {{ revision.id }} {% set search = revision.search %} {% set index = revision.index %} {% else %}(нет){% endif %} {% if list_link %} {% endif %} {% endmacro %} {% macro render_status(record=None, use_status=None, link_type=None, check_swarm=False) -%} {% with status = use_status or record.status %} {{ caller() }} {% endwith %} {% if record and check_swarm and not record.swarm %} old {% endif %} {% if record and link_type %} {% if link_type == "indexation" %} {% else %} {% endif %} {% endif %} {%- endmacro %} {% macro new_indexation(id, index, backend, defaults, suffixes, organization_id) -%} {{ caller() }}
{%- endmacro %} {% macro repeat_indexation(indexation) %} {{ caller() }} {%- endmacro %} {% macro stop_indexation(indexation) %} {{ caller() }} {%- endmacro %} {% macro stages_table(stages, plot_data) %}{% for status, count in info %} | {{ status }} | {% endfor %}
---|---|
{{ stage_type }} | {% for status, count in info %}{{ intformat(count) }} | {% endfor %}