mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Changed the column order of event records.
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
@@ -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>
|
||||
}
|
||||
|
Reference in New Issue
Block a user