mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Version: show on settings page
This commit is contained in:
@@ -9,6 +9,8 @@ from django.contrib.auth.decorators import user_passes_test
|
||||
from django.shortcuts import render
|
||||
|
||||
from snappea.settings import get_settings as get_snappea_settings
|
||||
|
||||
from bugsink.version import __version__
|
||||
from bugsink.decorators import login_exempt
|
||||
from bugsink.app_settings import get_settings as get_bugsink_settings
|
||||
|
||||
@@ -80,4 +82,5 @@ def settings_view(request):
|
||||
"bugsink_settings": round_values(get_bugsink_settings()),
|
||||
"snappea_settings": get_snappea_settings(),
|
||||
"misc_settings": misc_settings,
|
||||
"version": __version__,
|
||||
})
|
||||
|
||||
@@ -47,5 +47,14 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<h1 class="text-2xl font-bold mt-4">System info</h1>
|
||||
|
||||
<div class="mb-6">
|
||||
<div class="flex border-slate-300 border-t-2">
|
||||
<div class="w-1/4">Version</div>
|
||||
<div class="w-3/4">{{ version }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user