aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-07-14 01:13:56 +0200
committerGitHub <noreply@github.com>2022-07-14 01:13:56 +0200
commit6d2952d05973d96bf41897a28f8bdf4803d4f338 (patch)
tree04058a858eed08bc4fef00ff88586c4f7a3c6084
parent9dbcf0560fa2719ceb507e1b3a2bf6074167f8c6 (diff)
parentc1b88f927e0b1ceb8d5af2365c70106d77b68353 (diff)
downloadnextcloud-server-6d2952d05973d96bf41897a28f8bdf4803d4f338.tar.gz
nextcloud-server-6d2952d05973d96bf41897a28f8bdf4803d4f338.zip
Merge pull request #33230 from nextcloud/enh/noid/64bit-setup-check-link
add a link to system requirements for new 64bit setup check
-rw-r--r--core/js/setupchecks.js4
-rw-r--r--core/js/tests/specs/setupchecksSpec.js2
2 files changed, 4 insertions, 2 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index ec9ffbe604e..320c2bea9fb 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -425,7 +425,9 @@
messages.push({
msg: t(
'core',
- 'It seems like you are running a 32bit PHP version. Nextcloud needs 64bit to run well. Please upgrade your OS and PHP to 64bit!'
+ 'It seems like you are running a 32bit PHP version. Nextcloud needs 64bit to run well. Please upgrade your OS and PHP to 64bit! For further details read {linkstart}the documentation page about this ↗{linkend}.'
+ .replace('{linkstart}', '<a target="_blank" rel="noreferrer noopener" class="external" href="' + OC.theme.docPlaceholderUrl.replace('PLACEHOLDER', 'admin-system-requirements') + '">')
+ .replace('{linkend}', '</a>'),
),
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
})
diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js
index c217ea2f35a..2be33a7b394 100644
--- a/core/js/tests/specs/setupchecksSpec.js
+++ b/core/js/tests/specs/setupchecksSpec.js
@@ -1403,7 +1403,7 @@ describe('OC.SetupChecks tests', function() {
async.done(function( data, s, x ){
expect(data).toEqual([{
- msg: 'It seems like you are running a 32bit PHP version. Nextcloud needs 64bit to run well. Please upgrade your OS and PHP to 64bit!',
+ msg: 'It seems like you are running a 32bit PHP version. Nextcloud needs 64bit to run well. Please upgrade your OS and PHP to 64bit! For further details read <a href="https://docs.example.org/admin-system-requirements" class="external" rel="noreferrer noopener">the documentation page about this ↗</a>.',
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
}]);
done();