mirror of
https://github.com/discourse/discourse.git
synced 2025-01-10 02:43:52 +08:00
95564a3df2
Unless `moderators_view_emails` SiteSetting is enabled, moderators should not be able to discover users’ emails.
28 lines
714 B
Handlebars
28 lines
714 B
Handlebars
<AdminNav>
|
|
<NavItem
|
|
@route="adminLogs.staffActionLogs"
|
|
@label="admin.logs.staff_actions.title"
|
|
/>
|
|
{{#if this.currentUser.can_see_emails}}
|
|
<NavItem
|
|
@route="adminLogs.screenedEmails"
|
|
@label="admin.logs.screened_emails.title"
|
|
/>
|
|
{{/if}}
|
|
<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> |