Extracted term-related properties from AppSettings to a new TermSettings class for improved organization and separation of concerns. Updated appsettings.json to reflect the new structure.
28 lines
886 B
Plaintext
28 lines
886 B
Plaintext
@page "/verify"
|
|
|
|
@using FoodsharingSiegen.Shared.Helper
|
|
@inherits FsBase
|
|
|
|
<PageTitle>Freischalten - @AppSettings.Terms.Title</PageTitle>
|
|
|
|
<h2>Freischalten</h2>
|
|
|
|
@{
|
|
var filterList = ProspectList.ApplyFilter(Filter);
|
|
}
|
|
|
|
<hr/>
|
|
<ProspectFilterControl @bind-Filter="Filter"></ProspectFilterControl>
|
|
<hr />
|
|
<h5>@(filterList.Count) Einträge</h5>
|
|
@if (filterList.Any())
|
|
{
|
|
<div class="row m-0">
|
|
<Repeater Items="@filterList">
|
|
<ProspectContainer Prospect="context" InteractionModal="InteractionModal" ProspectModal="ProspectModal" RemoveInteraction="RemoveInteraction" StateFilter="ProspectStateFilter.Verification"></ProspectContainer>
|
|
</Repeater>
|
|
</div>
|
|
}
|
|
|
|
<AddProspectModal @ref="ProspectModal" OnUpdate="OnUpdateProspect"></AddProspectModal>
|
|
<AddInteractionModal @ref="InteractionModal" OnAdd="OnAddInteraction" Users="Users"></AddInteractionModal> |