discourse/app/assets/javascripts/admin/addon/templates/dashboard.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

50 lines
1.6 KiB
Handlebars

<PluginOutlet @name="admin-dashboard-top" @tagName="span" @connectorTagName="div" />
{{#if this.showVersionChecks}}
<div class="section-top">
<div class="version-checks">
<VersionChecks @versionCheck={{this.versionCheck}} @tagName="" />
</div>
</div>
{{/if}}
<DashboardProblems @loadingProblems={{this.loadingProblems}} @foundProblems={{this.foundProblems}} @lowPriorityProblems={{this.lowPriorityProblems}} @highPriorityProblems={{this.highPriorityProblems}} @problemsTimestamp={{this.problemsTimestamp}} @refreshProblems={{action "refreshProblems"}} />
<ul class="navigation">
<li class="navigation-item general">
<LinkTo @route="admin.dashboard.general" class="navigation-link">
{{i18n "admin.dashboard.general_tab"}}
</LinkTo>
</li>
{{#if this.isModerationTabVisible}}
<li class="navigation-item moderation">
<LinkTo @route="admin.dashboardModeration" class="navigation-link">
{{i18n "admin.dashboard.moderation_tab"}}
</LinkTo>
</li>
{{/if}}
{{#if this.isSecurityTabVisible}}
<li class="navigation-item security">
<LinkTo @route="admin.dashboardSecurity" class="navigation-link">
{{i18n "admin.dashboard.security_tab"}}
</LinkTo>
</li>
{{/if}}
{{#if this.isReportsTabVisible}}
<li class="navigation-item reports">
<LinkTo @route="admin.dashboardReports" class="navigation-link">
{{i18n "admin.dashboard.reports_tab"}}
</LinkTo>
</li>
{{/if}}
</ul>
{{outlet}}
<DashboardNewFeatures @tagName="div" />
<PluginOutlet @name="admin-dashboard-bottom" @tagName="span" @connectorTagName="div" />