discourse/app/assets/javascripts/admin/addon/templates/dashboard.hbs

56 lines
1.4 KiB
Handlebars

{{dashboard-new-features}}
{{plugin-outlet name="admin-dashboard-top"}}
{{#if showVersionChecks}}
<div class="section-top">
<div class="version-checks">
{{version-checks versionCheck=versionCheck tagName=""}}
</div>
</div>
{{/if}}
{{dashboard-problems
loadingProblems=loadingProblems
foundProblems=foundProblems
problems=problems
problemsTimestamp=problemsTimestamp
refreshProblems=(action "refreshProblems")
}}
<ul class="navigation">
<li class="navigation-item general">
{{#link-to "admin.dashboard.general" class="navigation-link"}}
{{i18n "admin.dashboard.general_tab"}}
{{/link-to}}
</li>
{{#if isModerationTabVisible}}
<li class="navigation-item moderation">
{{#link-to "admin.dashboardModeration" class="navigation-link"}}
{{i18n "admin.dashboard.moderation_tab"}}
{{/link-to}}
</li>
{{/if}}
{{#if isSecurityTabVisible}}
<li class="navigation-item security">
{{#link-to "admin.dashboardSecurity" class="navigation-link"}}
{{i18n "admin.dashboard.security_tab"}}
{{/link-to}}
</li>
{{/if}}
{{#if isReportsTabVisible}}
<li class="navigation-item reports">
{{#link-to "admin.dashboardReports" class="navigation-link"}}
{{i18n "admin.dashboard.reports_tab"}}
{{/link-to}}
</li>
{{/if}}
</ul>
{{outlet}}
{{plugin-outlet name="admin-dashboard-bottom"}}