{% extends "layout/base.html" %} {% block content %}

Cove Accounts

{% if settings.cove_partner_id %}
{% endif %} Cove settings
{% if settings.cove_last_import_at %}

Last import: {{ settings.cove_last_import_at|local_datetime }}

{% else %}

No import has run yet. Click Run import now to fetch Cove accounts.

{% endif %} {# ── Unmatched accounts (need a job) ─────────────────────────────────────── #} {% if unmatched %}

Unmatched {{ unmatched|length }}

Click a row to create a new job or link to an existing one.

{% for acc in unmatched %} {% endfor %}
Backup software Type Job name Computer Customer (Cove) Datasources Last status Last run First seen
{{ acc.derived_backup_software }} {{ acc.derived_backup_type }} {{ acc.derived_job_name }} {{ acc.computer_name or '—' }} {{ acc.customer_name or '—' }} {{ acc.datasource_display }} {% if acc.last_status_code is not none %} {{ STATUS_LABELS.get(acc.last_status_code, acc.last_status_code) }} {% else %}—{% endif %} {{ acc.last_run_at|local_datetime if acc.last_run_at else '—' }} {{ acc.first_seen_at|local_datetime }}
{% else %}
All accounts matched. {% if not settings.cove_last_import_at %} Run an import first to see Cove accounts here. {% else %} No unmatched Cove accounts. {% endif %}
{% endif %} {# ── Matched accounts ────────────────────────────────────────────────────── #} {% if matched %}

Linked {{ matched|length }}

{% for acc in matched %} {% endfor %}
Backup software Type Job name Computer Customer (Cove) Datasources Last status Last run Linked job
{{ acc.derived_backup_software }} {{ acc.derived_backup_type }} {{ acc.derived_job_name }} {{ acc.computer_name or '—' }} {{ acc.customer_name or '—' }} {{ acc.datasource_display }} {% if acc.last_status_code is not none %} {{ STATUS_LABELS.get(acc.last_status_code, acc.last_status_code) }} {% else %}—{% endif %} {{ acc.last_run_at|local_datetime if acc.last_run_at else '—' }} {% if acc.job %} {{ acc.job.customer.name ~ ' – ' if acc.job.customer else '' }}{{ acc.job.job_name }} {% else %}—{% endif %}
{% endif %} {% if not unmatched and not matched %}
No Cove accounts found. Run an import first via the button above or via Settings → Integrations → Cove.
{% endif %} {# ── Shared link/create modal ─────────────────────────────────────────────── #} {% endblock %}