@using WebApp.Models
@* 
<MudTooltip Text="Level of Effort">@AppIcons.LevelOfEffortIcon(EventDefinition.LevelOfEffort)</MudTooltip>

@if(EventDefinition.EventFormat ==  EventFormat.Individual) {
    <MudTooltip Text="Individual">@AppIcons.IndividualEvent</MudTooltip>
}
@if (EventDefinition.OnSiteActivity)
{
    <MudTooltip Text="On-site Activity"> @AppIcons.OnSiteActivity</MudTooltip>
}

@if (EventDefinition.RegionalEvent)
{
    <MudTooltip Text="Regional Event">@AppIcons.RegionalEvent</MudTooltip>
}

@if (EventDefinition.Presubmission)
{
    <MudTooltip Text="Presubmission Event">@AppIcons.PresubmissionEvent</MudTooltip>
} *@


@AppIcons.LevelOfEffortIcon(EventDefinition.LevelOfEffort)

@if (EventDefinition.EventFormat == EventFormat.Individual)
{
    @AppIcons.IndividualEvent
}
@if (EventDefinition.OnSiteActivity)
{
    @AppIcons.OnSiteActivity
}

@if (EventDefinition.RegionalEvent)
{
    @AppIcons.RegionalEvent
}

@if (EventDefinition.Presubmission)
{
    @AppIcons.PresubmissionEvent
}


@code {
    [Parameter]
    public EventDefinition EventDefinition { get; set; }
}
