Created
January 8, 2012 03:34
-
-
Save glennblock/1577068 to your computer and use it in GitHub Desktop.
Web Api - RestBugs bug template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
</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> | |
</tr> | |
} | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment