30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
@using SZUAbsolventenverein.Module.PremiumArea.Services
|
|
@using SZUAbsolventenverein.Module.PremiumArea.Models
|
|
@using Oqtane.Security
|
|
@using Oqtane.Shared
|
|
|
|
@namespace SZUAbsolventenverein.Module.PremiumArea
|
|
@inherits ModuleBase
|
|
@inject IPremiumAreaService PremiumAreaService
|
|
@inject NavigationManager NavigationManager
|
|
@inject IStringLocalizer<Index> Localizer
|
|
|
|
<div class="mb-3">
|
|
<ActionLink Action="Apply" Text="Ingenieur Antrag hochladen" />
|
|
<ActionLink Action="UserSearch" Text="Mitglieder finden" />
|
|
@if (Oqtane.Security.UserSecurity.IsAuthorized(PageState.User, RoleNames.Admin))
|
|
{
|
|
<ActionLink Action="AdminReview" Text="Admin Bereich" Security="SecurityAccessLevel.Edit" />
|
|
}
|
|
<ActionLink Action="ApplicationList" Text="Liste alle Ingenieur Anträge" />
|
|
</div>
|
|
|
|
@code {
|
|
public override string RenderMode => RenderModes.Static;
|
|
|
|
public override List<Resource> Resources => new List<Resource>()
|
|
{
|
|
new Stylesheet("_content/SZUAbsolventenverein.Module.PremiumArea/Module.css"),
|
|
new Script("_content/SZUAbsolventenverein.Module.PremiumArea/Module.js")
|
|
};
|
|
} |