(ui) Make dashboard operational status actionable
Turn the dashboard operational status rows into direct links to filtered run lists, so failed, warning, running, and queued states can be investigated from the first screen. Also move the hosts anchor back to the actual Hosts section. Refs #23
This commit is contained in:
@@ -125,6 +125,10 @@ class ViewTests(TestCase):
|
||||
self.assertContains(response, "1 run completed with warnings.")
|
||||
self.assertContains(response, "1 backup run in progress.")
|
||||
self.assertContains(response, "1 backup run waiting for the worker.")
|
||||
self.assertContains(response, "Review failed runs")
|
||||
self.assertContains(response, "Review warnings")
|
||||
self.assertContains(response, "View running runs")
|
||||
self.assertContains(response, "View queued runs")
|
||||
self.assertContains(response, f'href="{reverse("runs_list")}"', html=False)
|
||||
self.assertContains(response, f'href="{reverse("runs_list")}?status=queued"', html=False)
|
||||
self.assertContains(response, f'href="{reverse("runs_list")}?status=running"', html=False)
|
||||
|
||||
Reference in New Issue
Block a user