From 6289e7ae8d5207ce6b8c3406d422b8958645c5ae Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 13 Dec 2015 22:26:10 -0500 Subject: [PATCH] Fixes display issue with socket errors --- resources/lang/en/server.php | 2 +- resources/views/layouts/master.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lang/en/server.php b/resources/lang/en/server.php index 5187631ad..1e7461db2 100644 --- a/resources/lang/en/server.php +++ b/resources/lang/en/server.php @@ -9,7 +9,7 @@ return [ */ 'ajax' => [ - 'socket_error' => 'We were unable to connect to the main Socket.IO server, there may be network issues currently.

If this is your first time seeing this message it may be because you need to accept this server\'s SSL certificate. Please click this notification and accept the certificate.', + 'socket_error' => 'We were unable to connect to the main Socket.IO server, there may be network issues currently.

If this is your first time seeing this message it may be because you need to accept this servers SSL certificate. Please click this notification and accept the certificate.', 'socket_status' => 'This server\'s power status has changed to', 'socket_status_crashed' => 'This server has been detected as CRASHED.', ], diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index 83ca5b88c..bc1f7f247 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -49,7 +49,7 @@ $('#applyUpdate').removeClass('fa-circle-o-notch fa-spinner fa-spin').addClass('fa-question-circle').css({ color: '#FF9900' }); if(typeof notifySocketError !== 'object') { notifySocketError = $.notify({ - message: '{{ trans('server.ajax.socket_error') }}', + message: '{!! trans('server.ajax.socket_error') !!}', url: 'https://{{ $node->fqdn }}:{{ $node->daemonListen }}', target: '_blank' }, {