1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00

Fixes display issue with socket errors

This commit is contained in:
Dane Everitt 2015-12-13 22:26:10 -05:00
parent 22b0bbf6ce
commit 6289e7ae8d
2 changed files with 2 additions and 2 deletions

View File

@ -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. <br /><br />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. <br /><br />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.',
],

View File

@ -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'
}, {