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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.6 KiB
Handlebars
Raw Normal View History

<span>
<PluginOutlet @name="admin-dashboard-top" @connectorTagName="div" />
</span>
{{#if this.showVersionChecks}}
2019-04-01 18:39:49 +08:00
<div class="section-top">
<div class="version-checks">
<VersionChecks @versionCheck={{this.versionCheck}} @tagName="" />
</div>
</div>
2019-04-01 18:39:49 +08:00
{{/if}}
<DashboardProblems
@loadingProblems={{this.loadingProblems}}
@foundProblems={{this.foundProblems}}
@lowPriorityProblems={{this.lowPriorityProblems}}
@highPriorityProblems={{this.highPriorityProblems}}
@problemsTimestamp={{this.problemsTimestamp}}
@refreshProblems={{action "refreshProblems"}}
/>
2019-04-01 18:39:49 +08:00
<ul class="navigation">
<li class="navigation-item general">
<LinkTo @route="admin.dashboard.general" class="navigation-link">
2019-04-01 18:39:49 +08:00
{{i18n "admin.dashboard.general_tab"}}
</LinkTo>
2019-04-01 18:39:49 +08:00
</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}}
2019-04-01 18:39:49 +08:00
</ul>
{{outlet}}
<DashboardNewFeatures @tagName="div" />
<span>
<PluginOutlet @name="admin-dashboard-bottom" @connectorTagName="div" />
</span>