mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added link to Audit Log resource
refs https://github.com/TryGhost/Toolbox/issues/356 - this allows you to click on the title and go to whatever resource was acted upon - if the resource has not be found, it'll just show the resource ID
This commit is contained in:
parent
5f4c170d05
commit
fa158b3831
1 changed files with 8 additions and 1 deletions
|
@ -35,7 +35,14 @@
|
|||
<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 ev.action}} <strong>{{ev.resource.title}}</strong>
|
||||
{{capitalize-first-letter ev.action}}
|
||||
{{#if ev.resource.title}}
|
||||
<LinkTo @route="editor.edit" @models={{array ev.resource.displayName ev.resource.id}} class="permalink">
|
||||
<strong>{{ev.resource.title}}</strong>
|
||||
</LinkTo>
|
||||
{{else}}
|
||||
<br/><small>({{ev.original.resource_id}})</small>
|
||||
{{/if}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue