-
Notifications
You must be signed in to change notification settings - Fork 25
/
pendingbugs.cshtml
48 lines (47 loc) · 1.8 KB
/
pendingbugs.cshtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
<head>
<title></title>
</head>
<body>
<table border="1">
<tr>
<td>ID</td>
<td>Name</td>
<td>Status</td>
<td>Priority</td>
<td>Rank</td>
<td>Assigned To</td>
<td>History</td>
<td>Item Link</td>
<td>Activate</td>
</tr>
@foreach (var item in @Model)
{
<tr class="bug-data">
<td class="id">@item.Id</td>
<td class="name">@item.Name</td>
<td class="status">@item.Status</td>
<td class="priority">@item.Priority</td>
<td class="rank">@item.Rank</td>
<td class="assignedTo">@LinkFromEntity(item.AssignedTo, "assignedTo")</td>
<td>@LinkFromEntity("history", item, "history")</td>
<td>@LinkFromEntity(item, "self")</td>
<td>
<form class="active" action="/bugs/active" method="post">
<input type="hidden" name="id" value="@item.Id" />
Comments <input type="text" name="comments" />
<input type="submit" value="activate" />
</form>
</td>
</tr>
}
</table>
<br/>
<a href="/" rel="root">Index</a><br/>
<a href="/bugs/pending" rel="pending bugs">Pending Bugs</a><br/>
<a href="/bugs/active" rel="active bugs">Active Bugs</a><br/>
<a href="/bugs/resolved" rel="resolved bugs">Resolved Bugs</a><br/>
<a href="/bugs/closed" rel="closed bugs">Closed Bugs</a><br/>
<a href="/team">Team</a>
</body>
</html>