mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added resource ID to action row
refs https://github.com/TryGhost/Toolbox/issues/356 - this will soon be populated with the actual resource name, if present
This commit is contained in:
parent
7aecae11cc
commit
714611b9fd
@ -7,7 +7,7 @@ export default function parseAuditLogEvent(ev) {
|
||||
actorName,
|
||||
actionIcon,
|
||||
action,
|
||||
timestamp: ev.created_at
|
||||
original: ev
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -34,13 +34,12 @@
|
||||
<div class="gh-members-activity-icon">{{svg-jar ev.actionIcon}}</div>
|
||||
<div class="gh-members-activity-event">
|
||||
<span class="gh-members-activity-description">
|
||||
{{capitalize-first-letter event.action}}
|
||||
{{ev.action}}
|
||||
{{capitalize-first-letter ev.action}} <strong>{{ev.original.resource_id}}</strong>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-list-data">{{moment-format ev.timestamp "DD MMM YYYY HH:mm:ss"}}</div>
|
||||
<div class="gh-list-data">{{moment-format ev.original.created_at "DD MMM YYYY HH:mm:ss"}}</div>
|
||||
</tr>
|
||||
{{/let}}
|
||||
{{/each}}
|
||||
|
Loading…
Reference in New Issue
Block a user