Changed the column order of event records.

This commit is contained in:
Daniel Stolt
2014-07-05 19:27:37 +02:00
parent f66affe98c
commit c276433aff
2 changed files with 8 additions and 8 deletions

View File

@@ -51,24 +51,24 @@
<table class="items">
<thead>
<tr>
<th>@T("Event")</th>
<th>@T("Category")</th>
<th>@T("Event")</th>
<th>@T("User")</th>
<th>@T("Timestamp")</th>
<th>@T("Comment")</th>
<th>@T("Summary")</th>
<th>@T("Comment")</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var record in Model.Records) {
<tr>
<td>@record.EventDescriptor.Name</td>
<td>@record.CategoryDescriptor.Name</td>
<td>@record.EventDescriptor.Name</td>
<td>@record.Record.UserName</td>
<td>@Display.DateTime(DateTimeUtc: record.Record.CreatedUtc, CustomFormat: T("g"))</td>
<td>@record.Record.Comment</td>
<td>@Display(record.SummaryShape)</td>
<td>@record.Record.Comment</td>
<td>@Html.ActionLink(T("Details").Text, "Detail", "Admin", new { id = record.Record.Id, area = "Orchard.AuditTrail" }, null)</td>
</tr>
}

View File

@@ -21,24 +21,24 @@
<table class="audittrail-list items">
<thead>
<tr>
<th>@T("Event")</th>
<th>@T("Category")</th>
<th>@T("Event")</th>
<th>@T("User")</th>
<th>@T("Timestamp")</th>
<th>@T("Comment")</th>
<th>@T("Summary")</th>
<th>@T("Comment")</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var record in records) {
<tr>
<td>@record.EventDescriptor.Name</td>
<td>@record.CategoryDescriptor.Name</td>
<td>@record.EventDescriptor.Name</td>
<td>@record.Record.UserName</td>
<td>@Display.DateTime(DateTimeUtc: record.Record.CreatedUtc, CustomFormat: T("g"))</td>
<td>@record.Record.Comment</td>
<td>@Display(record.SummaryShape)</td>
<td>@record.Record.Comment</td>
<td>@Html.ActionLink(T("Details").Text, "Detail", "Admin", new { id = record.Record.Id, area = "Orchard.AuditTrail" }, null)</td>
</tr>
}