2026-03-16 23:16:12 +00:00
|
|
|
@model IEnumerable<Yavsc.Models.YavscApiScope>
|
|
|
|
|
|
|
|
|
|
@{
|
2026-07-04 19:57:03 +01:00
|
|
|
ViewBag.Title = Localizer["ApiScope"];
|
2026-03-16 23:16:12 +00:00
|
|
|
|
2026-07-04 20:09:58 +01:00
|
|
|
}
|
2026-03-16 23:16:12 +00:00
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
<a asp-action="Create">Create New</a>
|
|
|
|
|
</p>
|
|
|
|
|
<table class="table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Enabled)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Name)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.DisplayName)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Description)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Required)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Emphasize)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.ShowInDiscoveryDocument)
|
|
|
|
|
</th>
|
|
|
|
|
<th></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
@foreach (var item in Model) {
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Enabled)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Name)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.DisplayName)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Description)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Required)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Emphasize)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.ShowInDiscoveryDocument)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
|
|
|
|
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
|
|
|
|
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|