Skip to content

Commit d264309

Browse files
Displays induction abandon reason. (#943)
Adds a column to the inductions table to display the reason for abandoning an induction, using a tooltip to show the justification.
1 parent 44c561d commit d264309

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Server.UI/Pages/Participants/Components/Inductions.razor

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,19 @@
7575
<MudTh>Commenced</MudTh>
7676
<MudTh>Completed</MudTh>
7777
<MudTh>Status</MudTh>
78+
<MudTh>Reason</MudTh>
7879
<MudTh></MudTh>
7980
</HeaderContent>
8081
<RowTemplate>
8182
<MudTd DataLabel="P">@context.Number</MudTd>
8283
<MudTd DataLabel="S">@context.StartDate.ToShortDateString()</MudTd>
8384
<MudTd DataLabel="E">@(context.CompletedDate.HasValue ? context.CompletedDate.Value.ToShortDateString() : string.Empty)</MudTd>
8485
<MudTd DataLabel="F">@(context.Status.Name)</MudTd>
86+
<MudTd DataLabel="G">
87+
<MudTooltip Text="@context.AbandonJustification">
88+
@(context.AbandonReason?.Name)
89+
</MudTooltip>
90+
</MudTd>
8591
<MudTd>
8692
<MudFab Color="Color.Info"
8793
StartIcon="@Icons.Material.Filled.AssignmentTurnedIn"

0 commit comments

Comments
 (0)