added version number to system screen

This commit is contained in:
vabene1111
2023-07-27 18:39:21 +02:00
parent f34fb8eec3
commit 9988a61da7
3 changed files with 12 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ from cookbook.helper.permission_helper import group_required, has_group_permissi
from cookbook.models import (Comment, CookLog, InviteLink, SearchFields, SearchPreference, ShareLink,
Space, ViewLog, UserSpace)
from cookbook.tables import (CookLogTable, ViewLogTable)
from recipes.settings import PLUGINS
from recipes.version import BUILD_REF, VERSION_NUMBER
@@ -322,6 +323,7 @@ def system(request):
'postgres': postgres,
'version': VERSION_NUMBER,
'ref': BUILD_REF,
'plugins': PLUGINS,
'secret_key': secret_key
})