@using FoodsharingSiegen.Contracts.Entity @using FoodsharingSiegen.Contracts.Enums @using FoodsharingSiegen.Shared.Helper @inherits FsBase @{ var colorClass = ""; if(Done) colorClass = "interaction--color-done"; var rowClass = ""; if (Done) rowClass += " done"; if (NotNeeded) rowClass += " notneeded"; if (Alert) rowClass += " fs-alert"; } @if(!AllowInteraction || Prospect is {Complete: true }) { } else { @if(Interactions.Count == 0 || Multiple) { if (Multiple) ButtonIconClass = "fa-solid fa-plus"; } else { } }
@if(Multiple && Interactions.Count > 0) { @foreach (var interaction in Interactions) {