mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-31 16:24:54 +02:00
Show git branch and commit hash on homepage if available.
This commit is contained in:
parent
3c16632a89
commit
329d8c871e
3 changed files with 86 additions and 5 deletions
|
@ -5,6 +5,9 @@
|
|||
<h1 class="display-3">{{ partdb_title }}</h1>
|
||||
<h4>
|
||||
{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}
|
||||
{% if git_branch is not empty or git_commit is not empty %}
|
||||
({{ git_branch ?? '' }}/{{ git_commit ?? '' }})
|
||||
{% endif %}
|
||||
</h4>
|
||||
{% if banner is not empty %}
|
||||
<hr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue