[BS5] add whats new modal after update

This commit is contained in:
FreddleSpl0it
2022-07-08 15:47:21 +02:00
parent d3cd21956a
commit 8987ebca36
8 changed files with 81 additions and 7 deletions

View File

@@ -27,7 +27,11 @@ if (is_array($alertbox_log_parser)) {
$globalVariables = [
'mailcow_info' => array(
'version_tag' => $GLOBALS['MAILCOW_GIT_VERSION'],
'git_project_url' => $GLOBALS['MAILCOW_GIT_URL']
'last_version_tag' => $GLOBALS['MAILCOW_LAST_GIT_VERSION'],
'project_url' => $GLOBALS['MAILCOW_GIT_URL'],
'project_owner' => $GLOBALS['MAILCOW_GIT_OWNER'],
'project_repo' => $GLOBALS['MAILCOW_GIT_REPO'],
'updatedAt' => $GLOBALS['MAILCOW_UPDATEDAT']
),
'js_path' => '/cache/'.basename($JSPath),
'pending_tfa_method' => @$_SESSION['pending_tfa_method'],