added Header to RaidRoles Table
This commit is contained in:
parent
212e1a393d
commit
bd781d496f
1 changed files with 10 additions and 4 deletions
|
@ -5,11 +5,17 @@
|
|||
@inject RaidService RaidService
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Role</th>
|
||||
<th>Users</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@{
|
||||
RaidSignUp userRole = _raid.SignUps.Where(s => s.LiebUserId == _liebUserId).FirstOrDefault();
|
||||
bool isSignedUp = userRole != null;
|
||||
}
|
||||
@{
|
||||
RaidSignUp userRole = _raid.SignUps.Where(s => s.LiebUserId == _liebUserId).FirstOrDefault();
|
||||
bool isSignedUp = userRole != null;
|
||||
}
|
||||
@foreach (PlannedRaidRole role in _raid.Roles.OrderBy(r => r.PlannedRaidRoleId))
|
||||
{
|
||||
RaidSignUp[] signUps = _raid.SignUps.Where(s => s.PlannedRaidRoleId == role.PlannedRaidRoleId).ToArray();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue