@using FoodsharingSiegen.Contracts.Entity @{ var rowClass = ""; if (Done) rowClass += " done"; if (NotNeeded) rowClass += " notneeded"; if (Alert) rowClass += " fs-alert"; } @Caption: @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.Info)) { (@interaction.Info) }
} } @if (Prospect is not {Complete: true } && (Interactions.Count == 0 || Multiple) && AllowInteraction) { if (Multiple) ButtonIconClass = "fa-solid fa-plus";
}