mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 03:15:48 +08:00
61a2c3650d
selected-posts parial is kept and calling the new component to prevent errors with users who would have rewritten topic.hbs dashboard-problems and version-checks seem less risky and have only been converted to components
45 lines
1.2 KiB
Handlebars
45 lines
1.2 KiB
Handlebars
{{plugin-outlet name="admin-dashboard-top"}}
|
|
|
|
{{#if showVersionChecks}}
|
|
<div class="section-top">
|
|
<div class="version-checks">
|
|
{{version-checks versionCheck=versionCheck}}
|
|
</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>
|
|
<li class="navigation-item moderation">
|
|
{{#link-to "admin.dashboardModeration" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.moderation_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
<li class="navigation-item security">
|
|
{{#link-to "admin.dashboardSecurity" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.security_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
<li class="navigation-item reports">
|
|
{{#link-to "admin.dashboardReports" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.reports_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
</ul>
|
|
|
|
{{outlet}}
|
|
|
|
{{plugin-outlet name="admin-dashboard-bottom"}}
|