Ghost/ghost/admin/app/components/settings/audit-log/no-events.hbs
Peter Zimon c82627be60 Added reset functions to Audit log
refs. https://github.com/TryGhost/Toolbox/issues/356

- The page title in Audit log didn't reset the filters and the search value
- Also, the button on the empty list screen didn't work
2022-08-23 11:37:45 +02:00

13 lines
485 B
Handlebars

<div class="no-posts-box">
<div class="no-posts">
{{svg-jar "activity-placeholder" class="gh-members-placeholder"}}
{{#if @filter}}
<h4>No events match the current filter</h4>
<LinkTo @route="settings.audit-log" @query={{reset-query-params "settings.audit-log"}} class="gh-btn gh-btn-lg">
<span>Show all events</span>
</LinkTo>
{{else}}
<h4>No events yet</h4>
{{/if}}
</div>
</div>