2019-01-01 16:28:47 +00:00
|
|
|
@model IEnumerable<Yavsc.Models.Relationship.HyperLink>
|
|
|
|
|
|
|
|
|
|
@{
|
2019-06-21 09:20:13 +01:00
|
|
|
ViewData["Title"] = @SR["Index"];
|
2019-01-01 16:28:47 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-22 19:34:39 +01:00
|
|
|
<h2>@SR["HyperLink"] - @SR["Index"]</h2>
|
2019-01-01 16:28:47 +00:00
|
|
|
|
|
|
|
|
<p>
|
2019-06-21 09:20:13 +01:00
|
|
|
<a asp-action="Create">@SR["Create New"]</a>
|
2019-01-01 16:28:47 +00:00
|
|
|
</p>
|
|
|
|
|
<table class="table">
|
|
|
|
|
<tr>
|
2019-06-21 09:20:13 +01:00
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.HRef)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Method)
|
|
|
|
|
</th>
|
2019-01-01 16:28:47 +00:00
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.ContentType)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Rel)
|
|
|
|
|
</th>
|
|
|
|
|
<th></th>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
@foreach (var item in Model) {
|
|
|
|
|
<tr>
|
2019-06-21 09:20:13 +01:00
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.HRef)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Method)
|
|
|
|
|
</td>
|
2019-01-01 16:28:47 +00:00
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.ContentType)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Rel)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
2019-06-22 19:34:39 +01:00
|
|
|
@Html.ActionLink(SR["Edit"], "Edit", new { hRef=item.HRef, method = item.Method }) |
|
|
|
|
|
@Html.ActionLink(SR["Details"], "Details", new { hRef=item.HRef, method = item.Method }) |
|
|
|
|
|
@Html.ActionLink(SR["Delete"], "Delete", new { hRef=item.HRef, method = item.Method })
|
2019-01-01 16:28:47 +00:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
}
|
|
|
|
|
</table>
|