@using FoodsharingSiegen.Contracts.Entity @using FoodsharingSiegen.Contracts.Enums @using FoodsharingSiegen.Shared.Helper @inherits FsBase @{ var rowClass = ""; if (Done) rowClass += " done"; if (NotNeeded) rowClass += " notneeded"; if (Alert) rowClass += " fs-alert"; } @Type.Translate(AppSettings): @if (Interactions.Count > 0) { foreach (var interaction in Interactions) {
@interaction.User.Name (@interaction.Date.ToShortDateString()) @if ((Prospect is not { Complete: true } || interaction.Type == InteractionType.Complete) && AllowInteraction) {   }
@if (!string.IsNullOrWhiteSpace(interaction.Info1)) { (@interaction.Info1) }
} } @if (Prospect is not {Complete: true } && (Interactions.Count == 0 || Multiple) && AllowInteraction) { if (Multiple) ButtonIconClass = "fa-solid fa-plus";
}