Fixes #3171 - HTML chars in message visible

This commit is contained in:
Mantas 2020-11-23 16:06:03 +02:00 committed by Thorsten Eckel
parent 024000b98a
commit 5f2bc303c7

View file

@ -64,14 +64,14 @@ class Widget extends App.Controller
maintanaceRestartManual: (data) => maintanaceRestartManual: (data) =>
return if @messageRestartManual return if @messageRestartManual
@messageRestartManual = new App.SessionMessage( @messageRestartManual = new App.SessionMessage(
head: App.i18n.translateContent('Zammad need a restart!') head: App.i18n.translateInline('Zammad need a restart!')
message: App.i18n.translateContent('Some system settings have changed, please restart all Zammad processes! If you want to do this automatically, set environment variable APP___RESTART___CMD="/path/to/your___app___script.sh restart".') contentInline: App.i18n.translateInline('Some system settings have changed, please restart all Zammad processes! If you want to do this automatically, set environment variable APP_RESTART_CMD="/path/to/your_app_script.sh restart".')
keyboard: false keyboard: false
backdrop: false backdrop: false
buttonClose: false buttonClose: false
buttonSubmit: false buttonSubmit: false
small: true small: true
forceReload: true forceReload: true
) )
@disconnectClient() @disconnectClient()
@checkAvailability() @checkAvailability()