mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Added access to user activity from staff profile
refs. https://github.com/TryGhost/Toolbox/issues/356 - administrators needed a quick way to access the Audit log prefiltered for a given user from the user's staff profile page
This commit is contained in:
parent
4e4d1015cd
commit
e06c4c3e0b
@ -25,7 +25,7 @@
|
||||
{{/if}}
|
||||
|
||||
<section class="view-actions">
|
||||
{{#if this.userActionsAreVisible}}
|
||||
{{#if (or this.userActionsAreVisible this.session.user.isAdmin)}}
|
||||
<span class="dropdown">
|
||||
<GhDropdownButton @dropdownName="user-actions-menu" @classNames="gh-btn gh-btn-white gh-btn-icon icon-only user-actions-cog" @title="User Actions" data-test-user-actions={{true}}>
|
||||
<span>
|
||||
@ -68,6 +68,11 @@
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<li>
|
||||
<LinkTo @route="settings.audit-log" @query={{hash user=user.id}}>
|
||||
<span>View user activity</span>
|
||||
</LinkTo>
|
||||
</li>
|
||||
</GhDropdown>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user