{% extends "isearch/base.html" %} {% import "isearch/include/macros.html" as macros %} {% block title %}PushRecord {{ push.id }}{% endblock %} {% block additional_head %} {% endblock %} {% block container %}

Пуш {{ push.id }}: {{ push.search }} ({{ push.index or "default" }}) {% call macros.render_status(push, push.get_status_display()) %}{{ push.get_status_display() }}{% endcall %}

{{ macros.render_push_actions(push) }}
Получен{{ push.date.strftime('%d.%m.%Y %H:%M:%S')}}
Тип{{ push.type }}
Метаданные{{ macros.render_push_meta(push) }}
object_id{{ push.object_id }}
Организация{% if push.organization %}{{ macros.admin_org_link(push.organization)}}{% endif %}
Комментарий{{ push.comment or "" }}
Количество ретраев{{ push.retries }}
Начало{{ push.start_time.strftime('%d.%m.%Y %H:%M:%S') if push.start_time else "-" }}
Окончание{{push.end_time.strftime('%d.%m.%Y %H:%M:%S') if push.end_time else "-"}}
Продолжительность{{ human_delta((push.end_time or now()) - push.start_time) if push.start_time else "-" }}

Инстансы

{% for instance in push.instances.all() %} {% endfor %}
ID Ревизия Индексация Статус Начата Обновлена
{{ instance.id }} {% if instance.revision %} {{ macros.render_revision(instance.revision) }} {% endif %} {% if instance.indexation %} {% call macros.render_status(instance.indexation, link_type="indexation", check_swarm=True) %}{{ instance.indexation.status }}{% endcall %} {% endif %} {% call macros.render_status(use_status=instance.get_status_display()) %}{{ instance.get_status_display() }}{% endcall %} {{ instance.created_at.strftime('%d.%m.%Y %H:%M:%S') }} {{ instance.updated_at.strftime('%d.%m.%Y %H:%M:%S') }}
Показать логи: Y.Deploy
{% endblock %}