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

Feature #4400: Show error when the image is not found

This commit is contained in:
Carlos Martín 2016-04-26 18:04:15 +02:00
parent 93b059d2b1
commit e769ba945e

View File

@ -122,6 +122,11 @@ define(function(require){
$("label", diskContext).append('<i class="'+color_class+' fa-border has-tip left fa fa-square" title="' +
Locale.tr("Image state: ") + OpenNebulaImage.stateStr(disk.IMAGE_STATE) + '"></i>')
} else {
var color_class = "error-color";
$("label", diskContext).append('<i class="'+color_class+' fa-border has-tip left fa fa-square" title="' +
Locale.tr("Image was not found") + '"></i>')
}
var attr;