@using FoodsharingSiegen.Contracts.Enums
@using FoodsharingSiegen.Shared.Helper
@using System.ComponentModel
@inherits FsBase
@{
var divClass = $"{CssClass} pc-main shadow border-0";
if (Prospect is { Complete: true }) divClass += " complete";
if (Prospect is { Warning: true }) divClass += " warning";
if (Prospect is { RecordState: RecordState.Archived }) divClass += " deleted";
}
@if(string.IsNullOrWhiteSpace(Prospect?.Name))
{
»Name fehlt«
}
else
{
@Prospect?.Name
}
@if (Prospect?.FsId != null && Prospect.FsId != 0)
{
@Prospect?.FsId
}
@if (!string.IsNullOrWhiteSpace(Prospect?.Memo))
{
var alertColor = Prospect?.Warning is true ? Color.Warning : Color.Info;
var alertIconClass = Prospect?.Warning is true ? "fa-solid fa-triangle-exclamation" : "fa-solid fa-circle-info";
@Prospect?.Memo
}
|
@if (!AppSettings.DisableStepIn)
{
}
|
@if (CurrentUser.IsInGroup(UserGroup.Ambassador))
{
}
@if (StateFilter > ProspectStateFilter.OnBoarding)
{
}
@if(StateFilter > ProspectStateFilter.OnBoarding)
{
@if(Prospect?.Complete != true)
{
} else {
}
}
@if (Prospect?.RecordState != RecordState.Archived)
{
}
else
{
}
Geändert: @Prospect?.Modified?.ToLocalTime()