Skip to content

Commit

Permalink
Merge branch 'main' into CFODEV-619
Browse files Browse the repository at this point in the history
  • Loading branch information
samgibsonmoj authored Aug 19, 2024
2 parents ae65197 + 5fc3906 commit c3b0021
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions src/Server.UI/Pages/Participants/Components/CaseNotes.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
{
<MudTimeline TimelinePosition="TimelinePosition.Start" Modifiers="true">
<MudTimelineItem TimelineAlign="TimelineAlign.Start">
<MudTooltip Text="New">
<MudIconButton Icon="@Icons.Material.Filled.Add" Variant="Variant.Outlined" OnClick="OnAddNote" Class="rounded-circle"></MudIconButton>
</MudTooltip>
<div class="d-flex gap-4 align-center mud-list-subheader">
<MudTooltip Text="New">
<MudIconButton Icon="@Icons.Material.Filled.Add" Variant="Variant.Outlined" OnClick="OnAddNote" Class="rounded-circle"></MudIconButton>
</MudTooltip>
<MudText>New note</MudText>
</div>
</MudTimelineItem>
@foreach(var note in _notes.OrderByDescending(x => x.Created))
{
Expand Down Expand Up @@ -50,18 +53,6 @@
</MudTimelineItem>
}
</MudTimeline>

<MudContainer Class="d-flex justify-center mt-2">
@if(_notes.Length is 0)
{
<MudText Typo="Typo.caption">Nothing to see here. Why not add a note yourself?</MudText>
}
else
{
<MudText Typo="Typo.caption">You're all caught up!</MudText>
}
</MudContainer>

}

@code {
Expand Down

0 comments on commit c3b0021

Please sign in to comment.