1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Add warning for ad-blockers in vm log tab

This commit is contained in:
Carlos Martín 2016-10-10 18:56:40 +02:00
parent 1462c825c0
commit 238095c142

View File

@ -96,7 +96,15 @@ define(function(require) {
},
error: function(request, error_json) {
$('.vm_log_container', context).html('');
$('.vm_log_container', context).html(
'<div class="row">' +
'<div class="large-12 columns vm_log_container monospace">' +
'<div class="text-center" style="height: 100px;">' +
'<span class="radius secondary label"><i class="fa fa-exclamation-triangle"></i> '+Locale.tr("Some ad-block extensions are known to filter the '/log?id=' URL")+'</span>' +
'</div>' +
'</div>' +
'</div>');
Notifier.onError(request, error_json);
}
});