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:
parent
bd930a9c77
commit
509e61e272
|
@ -5,7 +5,10 @@
|
||||||
|
|
||||||
<div class="version-number">
|
<div class="version-number">
|
||||||
<h4>{{i18n 'admin.dashboard.installed_version'}}</h4>
|
<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>
|
</div>
|
||||||
|
|
||||||
{{#if versionCheck.noCheckPerformed}}
|
{{#if versionCheck.noCheckPerformed}}
|
||||||
|
|
|
@ -626,10 +626,13 @@
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
h4 {
|
h4, .sha-link {
|
||||||
font-size: $font-down-2;
|
font-size: $font-down-2;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
.sha-link {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.version-status {
|
.version-status {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue