From cb658685494e8dab1d3f85ba16a865e31695cb2d Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Tue, 2 Jan 2018 02:52:07 +0000 Subject: [PATCH 1/3] Added new welcome message default Mentions the apps and documentation. --- packages/rocketchat-lib/server/startup/settings.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/rocketchat-lib/server/startup/settings.js b/packages/rocketchat-lib/server/startup/settings.js index dab6f94bcdf4..c49ad580d868 100644 --- a/packages/rocketchat-lib/server/startup/settings.js +++ b/packages/rocketchat-lib/server/startup/settings.js @@ -1444,7 +1444,10 @@ RocketChat.settings.addGroup('Layout', function() { type: 'string', 'public': true }); - this.add('Layout_Home_Body', 'Welcome to Rocket.Chat
Go to APP SETTINGS -> Layout to customize this intro.', { + this.add('Layout_Home_Body', '

Welcome to Rocket.Chat!

+

The Rocket.Chat desktops apps for Windows, macOS and Linux are available to download here.

+

The native mobile app, Rocket.Chat+, for Android and iOS is available from Google Play and the App Store.

+

For further help, please consult the documentation.

', { type: 'code', code: 'text/html', multiline: true, From 256a5832b11f993808b2f2432d98c71022dd1314 Mon Sep 17 00:00:00 2001 From: Gabriel Engel Date: Thu, 4 Jan 2018 15:12:04 -0200 Subject: [PATCH 2/3] Update settings.js --- packages/rocketchat-lib/server/startup/settings.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/rocketchat-lib/server/startup/settings.js b/packages/rocketchat-lib/server/startup/settings.js index c49ad580d868..b86cd80a21e8 100644 --- a/packages/rocketchat-lib/server/startup/settings.js +++ b/packages/rocketchat-lib/server/startup/settings.js @@ -1444,10 +1444,7 @@ RocketChat.settings.addGroup('Layout', function() { type: 'string', 'public': true }); - this.add('Layout_Home_Body', '

Welcome to Rocket.Chat!

-

The Rocket.Chat desktops apps for Windows, macOS and Linux are available to download here.

-

The native mobile app, Rocket.Chat+, for Android and iOS is available from Google Play and the App Store.

-

For further help, please consult the documentation.

', { + this.add('Layout_Home_Body', '

Welcome to Rocket.Chat!

The Rocket.Chat desktops apps for Windows, macOS and Linux are available to download here.

The native mobile app, Rocket.Chat+, for Android and iOS is available from Google Play and the App Store.

For further help, please consult the documentation.

', { type: 'code', code: 'text/html', multiline: true, From 081f4c8d9b42739610659eba30331a881abeb29d Mon Sep 17 00:00:00 2001 From: Bradley Hilton Date: Fri, 2 Feb 2018 12:46:03 -0600 Subject: [PATCH 3/3] Add back in how to edit the home page content Added back in how the administrators can change the content of the home's content with a direct link to the setting page. --- packages/rocketchat-lib/server/startup/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-lib/server/startup/settings.js b/packages/rocketchat-lib/server/startup/settings.js index b86cd80a21e8..f2fdd1196bcc 100644 --- a/packages/rocketchat-lib/server/startup/settings.js +++ b/packages/rocketchat-lib/server/startup/settings.js @@ -1444,7 +1444,7 @@ RocketChat.settings.addGroup('Layout', function() { type: 'string', 'public': true }); - this.add('Layout_Home_Body', '

Welcome to Rocket.Chat!

The Rocket.Chat desktops apps for Windows, macOS and Linux are available to download here.

The native mobile app, Rocket.Chat+, for Android and iOS is available from Google Play and the App Store.

For further help, please consult the documentation.

', { + this.add('Layout_Home_Body', '

Welcome to Rocket.Chat!

\n

The Rocket.Chat desktops apps for Windows, macOS and Linux are available to download here.

The native mobile app, Rocket.Chat+,\n for Android and iOS is available from Google Play and the App Store.

\n

For further help, please consult the documentation.

\n

If you\'re an admin, feel free to change this content via Administration -> Layout -> Home Body. Or clicking here.

', { type: 'code', code: 'text/html', multiline: true,