24 lines
775 B
Plaintext

@using Microsoft.AspNetCore.Mvc.Localization
@using gehGassi.Web.Helper
@model List<gehGassi.Web.Models.AuditInfoWithNamesVm>
@inject IViewLocalizer Localizer
<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><i class="@item.GetActionIcon()" title="@Localizer[$"AuditInfo_Action_{item.Action}"]"></i></td>
<td><img class="img-user-small" src="@Tools.GetProfileImage(item.GetPhoto())" /> @item.GetName()</td>
</tr>
}
</tbody>
</table>