mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 00:44:18 -04:00
Implemented UI_BACK_BUTTON for kiosk users to navigate to the previous page. Removed h1 to clean-up UI
This commit is contained in:
@@ -410,6 +410,7 @@ if(variables.serviceWeb) {
|
||||
info_text: req.flashMessage.message || '',
|
||||
error: req.flashMessage.type === 'error',
|
||||
error_text: req.flashMessage.message || '',
|
||||
uiBackButton: variables.uiBackButton,
|
||||
timeConvert: time,
|
||||
bytesConvert: bytes,
|
||||
email_enabled: variables.smtpFrom !== '' && variables.smtpHost !== '' && variables.smtpPort !== '',
|
||||
@@ -491,6 +492,7 @@ if(variables.serviceWeb) {
|
||||
baseUrl: req.headers['x-ingress-path'] ? req.headers['x-ingress-path'] : '',
|
||||
gitTag: variables.gitTag,
|
||||
gitBuild: variables.gitBuild,
|
||||
uiBackButton: variables.uiBackButton,
|
||||
user: user,
|
||||
userIcon: req.oidc ? crypto.createHash('sha256').update(user.email).digest('hex') : '',
|
||||
authDisabled: variables.authDisabled,
|
||||
|
||||
Reference in New Issue
Block a user