mesa-backlog/blazorserver/Pages/Shared/WorkItemsTable.cshtml
2022-08-26 15:40:05 -07:00

51 lines
2.2 KiB
Plaintext

@model List<Mesa_Backlog.ViewModels.WorkItem>
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<table class="table">
<thead>
<tr>
<th>Req<!--Id || Discussion[2]--></th>
<th>Submitted<!--Created Date--></th>
<th>Requestor<!--Assigned To Display Name--></th>
<th>Assigned To<!--Tags--></th>
<th>,<!--Title--></th>
<th>System(s)<!--Area Path--></th>
<th>Priority<!--Priority--></th>
<th>Status<!--Iteration Path--></th>
<th>Definition<!--Description--></th>
<th>Updates<!--Discussion--></th>
<th>Est Effort (days)<!--Effort--></th>
<th>Commit Date<!--TargetDate--></th>
<th>Re-Commit Date<!--&nbsp;--></th>
<th>UAT as of<!--ResolvedDate--></th>
<th>CMP Date<!--ClosedDate--></th>
<th>&nbsp;<!--State--></th>
</tr>
</thead>
<tbody>
@if(Model is not null)
{
@foreach (var workItem in Model)
{
<tr class="@workItem.Priority" id="@(workItem.Id)">
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Req</a></td>
<td>@workItem.Submitted</td>
<td>@workItem.Requestor</td>
<td>@workItem.AssignedTo</td>
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Title</a></td>
<td>@workItem.Systems</td>
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Priority</a></td>
<td><a href="@(workItem.HypertextReference)" target="_blank">@workItem.Status</a></td>
<td>@Html.Raw(workItem.Definition)</td>
<td>@Html.Raw(workItem.Updates)</td>
<td>@workItem.EstEffortDays</td>
<td>@workItem.CommitDate</td>
<td>&nbsp;</td>
<td>@workItem.UATAsOf</td>
<td>@workItem.CMPDate</td>
<td>@workItem.State</td>
</tr>
}
}
</tbody>
</table>