(ui) Show host runs and snapshots as record cards
Replace the database-style Latest Runs and Snapshots tables on the host detail page with scannable record cards and host-filtered View all links. Refs #26
This commit is contained in:
@@ -940,6 +940,8 @@ class ViewTests(TestCase):
|
||||
self.assertContains(response, reverse("queue_manual_backup", args=[host.host]))
|
||||
self.assertContains(response, reverse("run_detail", args=[BackupRun.objects.get().id]))
|
||||
self.assertContains(response, reverse("snapshot_detail", args=[snapshot.id]))
|
||||
self.assertContains(response, f'{reverse("runs_list")}?host={host.host}', html=False)
|
||||
self.assertContains(response, f'{reverse("snapshots_list")}?host={host.host}', html=False)
|
||||
|
||||
def test_host_detail_renders_effective_config_preview(self) -> None:
|
||||
self.client.force_login(self.staff_user)
|
||||
|
||||
Reference in New Issue
Block a user