Edit prospect
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
|
||||
<div class="@divClass">
|
||||
<h5 class="mb-0">
|
||||
@if (CurrentUser.IsInGroup(UserGroup.WelcomeTeam, UserGroup.Ambassador))
|
||||
{
|
||||
<a href=""><i class="fa-solid fa-pen-to-square" @onclick="() => ProspectModal.Show(Prospect)" @onclick:preventDefault></i> </a>
|
||||
}
|
||||
|
||||
@Prospect.Name
|
||||
<small style="font-size: .9rem; opacity: .7;">
|
||||
<a class="invert" href="https://foodsharing.de/profile/@Prospect.FsId" target="_blank">Profil öffnen</a>
|
||||
|
||||
@@ -9,6 +9,8 @@ namespace FoodsharingSiegen.Server.Controls
|
||||
[Parameter] public Prospect? Prospect { get; set; }
|
||||
|
||||
[Parameter] public AddInteractionModal InteractionModal { get; set; } = null!;
|
||||
|
||||
[Parameter] public AddProspectModal ProspectModal { get; set; } = null!;
|
||||
|
||||
[Parameter] public EventCallback<Guid> RemoveInteraction { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user