Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 3ed6c25

Browse files
committed
Polish workflow summary on front page
1 parent c8b616c commit 3ed6c25

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

src/Website/Views/Home/Index.cshtml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
@if (Model != null)
2020
{
21-
if (Model.Refreshing)
21+
if (Model.Value is null || Model.Refreshing)
2222
{
23-
<p><b>This data is currently being refreshed.</b></p>
23+
<p><b>The workflow summary is currently being refreshed.</b></p>
2424
}
2525

2626
if (Model.Value is not null)
@@ -47,14 +47,6 @@
4747
<dt>Workflow state</dt>
4848
<dd>@workflowRun.State</dd>
4949
</dl>
50-
<dl>
51-
<dt>Workflow started</dt>
52-
<dd>
53-
@{
54-
ShowDate(workflowRun.Created);
55-
}
56-
</dd>
57-
</dl>
5850
if (workflowRun.Completed.HasValue)
5951
{
6052
<dl>
@@ -66,6 +58,17 @@
6658
</dd>
6759
</dl>
6860
}
61+
else
62+
{
63+
<dl>
64+
<dt>Workflow started</dt>
65+
<dd>
66+
@{
67+
ShowDate(workflowRun.Created);
68+
}
69+
</dd>
70+
</dl>
71+
}
6972
}
7073

7174
var kustoIngestion = Model

0 commit comments

Comments
 (0)