discourse/app/assets/javascripts/admin/addon/templates/logs.hbs
Peter Wagenet 371bbadb92
No implicit this codemod (#17235)
* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
2022-07-05 19:41:31 +02:00

15 lines
615 B
Handlebars

<AdminNav>
<NavItem @route="adminLogs.staffActionLogs" @label="admin.logs.staff_actions.title" />
<NavItem @route="adminLogs.screenedEmails" @label="admin.logs.screened_emails.title" />
<NavItem @route="adminLogs.screenedIpAddresses" @label="admin.logs.screened_ips.title" />
<NavItem @route="adminLogs.screenedUrls" @label="admin.logs.screened_urls.title" />
<NavItem @route="adminSearchLogs" @label="admin.logs.search_logs.title" />
{{#if this.currentUser.admin}}
<NavItem @path="/logs" @label="admin.logs.logster.title" />
{{/if}}
</AdminNav>
<div class="admin-container">
{{outlet}}
</div>