discourse/app/assets/javascripts/admin/templates/dashboard.js.handlebars

23 lines
No EOL
819 B
Handlebars

<h3>Welcome to the admin section.</h3>
<p class="version-check">
{{#if loading }}
Loading...
{{else}}
<p {{bindAttr class="priorityClass"}}>
Discourse version: <span class="version-number">{{ versionCheck.installed_version }}</span>
<span class="version-notes">
{{#if upToDate }}
<i class='icon icon-ok update-to-date'></i> You are running the latest version of Discourse.
{{else}}
<i {{bindAttr class="updateIconClasses"}}></i>
<span class="critical-note">A critical update is available.</span>
<span class="normal-note">Updates are available.</span>
Please upgrade!
Latest version: <span class="version-number">{{ versionCheck.latest_version }}</span>
{{/if}}
</span>
</p>
{{/if}}
</p>