29 lines
966 B
Plaintext
29 lines
966 B
Plaintext
@page "/done"
|
|
|
|
@inherits FsBase
|
|
|
|
<PageTitle>@AppSettings.Title - Abgeschlossene Einarbeitungen</PageTitle>
|
|
<h2>Abgeschlossene Einarbeitungen</h2>
|
|
|
|
@{
|
|
var filterList = ProspectList;
|
|
if(!string.IsNullOrWhiteSpace(FilterText))
|
|
filterList = filterList?.Where(x =>
|
|
x.Name.Contains(FilterText, StringComparison.OrdinalIgnoreCase) ||
|
|
x.Memo?.Contains(FilterText, StringComparison.OrdinalIgnoreCase) == true ||
|
|
x.FsId.ToString().Contains(FilterText, StringComparison.OrdinalIgnoreCase))
|
|
.ToList();
|
|
}
|
|
|
|
<hr />
|
|
<h5>@(filterList?.Count ?? 0) Einträge</h5>
|
|
<TextEdit TextChanged="FilterText_Changed" Placeholder="Suchen..." Debounce="true" DebounceInterval="150" />
|
|
@if (filterList?.Any() == true)
|
|
{
|
|
|
|
<div class="row m-0">
|
|
<Repeater Items="@filterList">
|
|
<ProspectContainer Prospect="context" RemoveInteraction="RemoveInteraction"></ProspectContainer>
|
|
</Repeater>
|
|
</div>
|
|
} |