Link the git commit hash to GitHub on the About page

This commit is contained in:
Felipe Knorr Kuhn 2022-01-11 17:02:48 -08:00
parent 39c5393e3b
commit 503adc20dc
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -4,7 +4,7 @@
<span style="margin-left: auto; margin-right: -20px; margin-bottom: -20px">&trade;</span> <span style="margin-left: auto; margin-right: -20px; margin-bottom: -20px">&trade;</span>
<img class="logo" src="./resources/mempool-logo-bigger.png" /> <img class="logo" src="./resources/mempool-logo-bigger.png" />
<div class="version"> <div class="version">
v{{ packetJsonVersion }} [{{ frontendGitCommitHash }}] v{{ packetJsonVersion }} [<a href="https://github.com/mempool/mempool/commit/{{ frontendGitCommitHash }}">{{ frontendGitCommitHash }}</a>]
</div> </div>
</div> </div>
@ -240,7 +240,7 @@
</div> </div>
<div class="footer-version" *ngIf="officialMempoolSpace"> <div class="footer-version" *ngIf="officialMempoolSpace">
{{ (backendInfo$ | async)?.hostname }} (v{{ (backendInfo$ | async )?.version }}) [{{ (backendInfo$ | async )?.gitCommit | slice:0:8 }}] {{ (backendInfo$ | async)?.hostname }} (v{{ (backendInfo$ | async )?.version }}) [<a href="https://github.com/mempool/mempool/commit/{{ (backendInfo$ | async )?.gitCommit | slice:0:8 }}">{{ (backendInfo$ | async )?.gitCommit | slice:0:8 }}</a>]
</div> </div>
</div> </div>