UX: Show installed version with SHA instead of number of commits

Removes the "+ 437" string at the end of "v2.4.0.beta2 + 437",
and adds a link to the exact commit on github underneath.
This commit is contained in:
Neil Lalonde
2019-09-10 14:59:51 -04:00
parent bd930a9c77
commit 509e61e272
2 changed files with 8 additions and 2 deletions

View File

@@ -5,7 +5,10 @@
<div class="version-number">
<h4>{{i18n 'admin.dashboard.installed_version'}}</h4>
<h3><a href={{versionCheck.gitLink}} target="_blank">{{dash-if-empty versionCheck.installed_describe}}</a></h3>
<h3>{{dash-if-empty versionCheck.installed_version}}</h3>
<div class="sha-link">
(<a href={{versionCheck.gitLink}} target="_blank">{{versionCheck.shortSha}}</a>)
</div>
</div>
{{#if versionCheck.noCheckPerformed}}