39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
@using Microsoft.AspNetCore.Mvc.Localization
|
|
@model List<gehGassi.Web.Models.AuditInfoVm>
|
|
@inject IViewLocalizer Localizer
|
|
|
|
<section id="auditInfoContainer" class="p-3">
|
|
<div>
|
|
<h4 class="text-center">@Localizer["Common_History_Title"]</h4>
|
|
<div class="pageDesc">@Localizer["Common_History_Title_Desc"]</div>
|
|
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">@Localizer["Common_Date"]</th>
|
|
<th scope="col">@Localizer["Common_Action"]</th>
|
|
<th scope="col">@Localizer["Common_User"]</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>@item.DateTime</td>
|
|
<td>@Localizer[$"AuditInfo_Action_{item.Action}"]</td>
|
|
<td>@item.UserName</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="form-row button-row">
|
|
<div class="col-12">
|
|
<div class="">
|
|
<button type="button" id="btnAuditInfoClose" class="btn btn-primary">@Localizer["Button_Close"]</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<system-js url="~/scripts/Views/Common/auditInfo.js" fresh-import="true"></system-js>
|
|
</section> |