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:
parent
93b059d2b1
commit
e769ba945e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user