]> source.dussan.org Git - nextcloud-server.git/commitdiff
add a link to system requirements for new 64bit setup check 33230/head
authorszaimen <szaimen@e.mail.de>
Wed, 13 Jul 2022 18:28:00 +0000 (20:28 +0200)
committerszaimen <szaimen@e.mail.de>
Wed, 13 Jul 2022 20:16:42 +0000 (22:16 +0200)
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
core/js/setupchecks.js
core/js/tests/specs/setupchecksSpec.js

index ec9ffbe604e0bd221719b6ed7b50b4a94ce561a2..320c2bea9fbb95425efaa8f6c8f228fc990ff411 100644 (file)
                                                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
                                                })
index c217ea2f35ab46e4c66b94ea647debe594a6c715..2be33a7b39457a541c44ab1a5c70760eef7cd080 100644 (file)
@@ -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();