Fixing dialog line breaks

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
pull/4772/head
RD WebDesign 2 years ago
parent 39cb1029e9
commit ad70ece73e

@ -2101,9 +2101,7 @@ displayFinalMessage() {
# If the user wants to install the dashboard, # If the user wants to install the dashboard,
if [[ "${INSTALL_WEB_INTERFACE}" == true ]]; then if [[ "${INSTALL_WEB_INTERFACE}" == true ]]; then
# Store a message in a variable and display it # Store a message in a variable and display it
additional="View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin additional="View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin\\n\\nYour Admin Webpage login password is ${pwstring}"
Your Admin Webpage login password is ${pwstring}"
fi fi
# Final completion message to user # Final completion message to user
@ -2113,8 +2111,7 @@ Your Admin Webpage login password is ${pwstring}"
\\n\\nIPv4: ${IPV4_ADDRESS%/*}\ \\n\\nIPv4: ${IPV4_ADDRESS%/*}\
\\nIPv6: ${IPV6_ADDRESS:-"Not Configured"}\ \\nIPv6: ${IPV6_ADDRESS:-"Not Configured"}\
\\nIf you have not done so already, the above IP should be set to static.\ \\nIf you have not done so already, the above IP should be set to static.\
\\n${additional}" \\n${additional}" "${r}" "${c}"
"${r}" "${c}"
} }
update_dialogs() { update_dialogs() {

Loading…
Cancel
Save