diff --git a/containers/backupchecks/src/backend/app/main/routes_cloud_connect.py b/containers/backupchecks/src/backend/app/main/routes_cloud_connect.py index 8889bba..b3c8913 100644 --- a/containers/backupchecks/src/backend/app/main/routes_cloud_connect.py +++ b/containers/backupchecks/src/backend/app/main/routes_cloud_connect.py @@ -117,8 +117,8 @@ def cloud_connect_account_link(cc_account_db_id: int): customer = Customer.query.get_or_404(customer_id) - job_name = (request.form.get("job_name") or acc.user).strip() - backup_type = (request.form.get("backup_type") or acc.derived_backup_type).strip() + job_name = acc.user.strip() + backup_type = "Cloud Connect Agent" if acc.section == "Agent" else "Cloud Connect Backup" job = Job( customer_id=customer.id, diff --git a/containers/backupchecks/src/templates/main/cloud_connect_accounts.html b/containers/backupchecks/src/templates/main/cloud_connect_accounts.html index 64b4c9a..149f34a 100644 --- a/containers/backupchecks/src/templates/main/cloud_connect_accounts.html +++ b/containers/backupchecks/src/templates/main/cloud_connect_accounts.html @@ -10,7 +10,7 @@ {# ── Unmatched accounts ─────────────────────────────────────────────────── #} {% if unmatched %}
These accounts have no linked job yet. Create a new job or link to an existing one.
+Click a row to create a new job or link to an existing one.
| Last active | Status | First seen | -{% for acc in unmatched %} - | |
|---|---|---|---|---|
| {{ acc.user }} | {{ acc.section }} | {{ acc.repo_name or '—' }} {{ acc.repo_type or '' }} |
@@ -46,97 +50,7 @@
{% endif %}
{{ acc.first_seen_at|local_datetime }} | -- - |