2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add more version information (#5014)

* Add info for installer, branch, publisher

* include version info

* fix permissions

* fix typo

* add more info

* use GH url

* fix node

* remove publisher

* remove more logging

* Add info to version view

* enable branch discovery when not set

* fix ref to github version

* add branch to about dialog

* use precise plattform information - if no env is set

* fix ref names

* load VERSION info

* rename plattform to target

* extend installer var

* add generic plattform info

* add docs for version info

* add more info

* add installer codes

* Ammend navigation
This commit is contained in:
Matthias Mair
2023-06-11 16:32:03 +02:00
committed by GitHub
parent f3a13fc625
commit 15ab911da6
11 changed files with 177 additions and 0 deletions

View File

@ -36,6 +36,13 @@
<td>{% trans "Commit Date" %}</td><td>{% render_date commit_date %}{% include "clip.html" %}</td>
</tr>
{% endif %}
{% inventree_branch as branch %}
{% if branch %}
<tr>
<td><span class='fas fa-code-branch'></span></td>
<td>{% trans "Commit Branch" %}</td><td>{{ branch }}{% include "clip.html" %}</td>
</tr>
{% endif %}
{% endif %}
<tr>
<td><span class='fas fa-book'></span></td>

View File

@ -3,7 +3,11 @@ InvenTree-Version: {% inventree_version %}
Django Version: {% django_version %}
{% inventree_commit_hash as hash %}{% if hash %}Commit Hash: {{ hash }}{% endif %}
{% inventree_commit_date as commit_date %}{% if commit_date %}Commit Date: {% render_date commit_date %}{% endif %}
{% inventree_branch as branch %}{% if branch %}Commit Branch: {{ branch }}{% endif %}
Database: {% inventree_db_engine %}
Debug-Mode: {% inventree_in_debug_mode %}
Deployed using Docker: {% inventree_docker_mode %}
Platform: {% inventree_platform %}
Installer: {% inventree_installer %}
{% inventree_target as target %}{% if target %}Target: {{ target }}{% endif %}
Active plugins: {% plugins_info %}