mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05: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
2 changed files with 3 additions and 4 deletions
|
@ -7,7 +7,7 @@ export default function parseAuditLogEvent(ev) {
|
||||||
actorName,
|
actorName,
|
||||||
actionIcon,
|
actionIcon,
|
||||||
action,
|
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-icon">{{svg-jar ev.actionIcon}}</div>
|
||||||
<div class="gh-members-activity-event">
|
<div class="gh-members-activity-event">
|
||||||
<span class="gh-members-activity-description">
|
<span class="gh-members-activity-description">
|
||||||
{{capitalize-first-letter event.action}}
|
{{capitalize-first-letter ev.action}} <strong>{{ev.original.resource_id}}</strong>
|
||||||
{{ev.action}}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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>
|
</tr>
|
||||||
{{/let}}
|
{{/let}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue