mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2026-01-20 23:20:19 +01:00
Use correct non-branch wording
Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
parent
bc7381895b
commit
1621f9a745
|
|
@ -55,7 +55,7 @@ if os.path.exists(_version_info_path):
|
|||
with open(_version_info_path, 'r') as f:
|
||||
app.jinja_env.globals['version_info'] = {
|
||||
'hash': f.readline().strip(),
|
||||
'branch': f.readline().strip()
|
||||
'reference': f.readline().strip()
|
||||
}
|
||||
|
||||
_dbEnvVarName = 'PYKMS_SQLITE_DB_PATH'
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<strong>py-kms</strong> is online since <span class="convert_timestamp">{{ start_time }}</span>.
|
||||
This instance was accessed {{ get_serve_count() }} times. View this softwares license <a href="/license">here</a>.
|
||||
{% if version_info %}
|
||||
<br>This instance is running version "{{ version_info['hash'] }}" from branch "{{ version_info['branch'] }}" of py-kms.
|
||||
<br>This instance is running version "{{ version_info['hash'] }}" from Git "{{ version_info['reference'] }}" of py-kms.
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue