Compressed RaidRole components to a single component to make layout changes easier

This commit is contained in:
t.ruspekhofer 2022-03-13 23:40:33 +01:00
parent 8d443781a4
commit b714249e4c
7 changed files with 42 additions and 177 deletions

View file

@ -41,21 +41,7 @@
</div>
</div>
@if(_isRaidSignUpAllowed)
{
if(_raid.RaidType == RaidType.Planned)
{
<RaidRolesPlanned _raid=@_raid _user=@_user/>
}
else
{
<RaidRolesRandom _raid=@_raid _user=@_user/>
}
}
else
{
<RaidRolesNoSignUp _raid=@_raid/>
}
<RaidRoles _raid=@_raid _user=@_user/>
<AuthorizeView Policy="@Constants.Roles.RaidLead">