Skip to content

Commit b097d78

Browse files
committed
Tweaks to staff action logs page
1 parent b6b30da commit b097d78

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<th class="action">{{i18n admin.logs.action}}</th>
88
<th class="staff_user">{{i18n admin.logs.staff_actions.staff_user}}</th>
99
<th class="target_user">{{i18n admin.logs.staff_actions.target_user}}</th>
10+
<th class="created_at">{{i18n admin.logs.staff_actions.when}}</th>
1011
<th class="context">{{i18n admin.logs.staff_actions.context}}</th>
11-
<th class="created_at">{{i18n admin.logs.created_at}}</th>
1212
<th class="details">{{i18n admin.logs.staff_actions.details}}</th>
1313
</thead>
1414

@@ -28,8 +28,8 @@
2828
&mdash;
2929
{{/if}}
3030
</td>
31-
<td class="context">{{context}}</td>
3231
<td class="created_at">{{unboundAgeWithTooltip created_at}}</td>
32+
<td class="context">{{context}}</td>
3333
<td class="details">
3434
{{{formattedDetails}}}
3535
{{#if showFullDetails}}

app/assets/stylesheets/admin/admin_base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,14 +706,14 @@ table {
706706
.action {
707707
width: 120px;
708708
}
709-
.staff_user, .target_user {
709+
.staff_user, .target_user, .created_at {
710710
white-space: nowrap;
711711
}
712712
.created_at {
713713
text-align: center;
714714
}
715715
.details {
716-
width: 500px;
716+
width: 400px;
717717
a {
718718
text-decoration: underline;
719719
}

config/locales/client.en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,7 @@ en:
11781178
title: "Staff Actions"
11791179
staff_user: "Staff User"
11801180
target_user: "Target User"
1181+
when: "When"
11811182
context: "Context"
11821183
details: "Details"
11831184
actions:

0 commit comments

Comments
 (0)