mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
feature #2384: Add user feadback when VM is not scheduled due to ”Not enough capacity”
This commit is contained in:
parent
23aa16baaf
commit
5ee666c765
@ -1381,8 +1381,26 @@ function generatePlacementTable(vm){
|
||||
</tr>\
|
||||
</tbody>\
|
||||
</table>\
|
||||
</div></div>\
|
||||
<div class="twelve columns">\
|
||||
</div></div>';
|
||||
|
||||
if (vm.USER_TEMPLATE.SCHED_MESSAGE) {
|
||||
html += '<div class="twelve columns">\
|
||||
<table id="vm_ds_placement_table" class="extended_table twelve">\
|
||||
<thead>\
|
||||
<tr>\
|
||||
<th align="center">'+tr("Sched Message")+'</th>\
|
||||
</tr>\
|
||||
</thead>\
|
||||
<tbody>\
|
||||
<tr>\
|
||||
<td>'+ vm.USER_TEMPLATE.SCHED_MESSAGE +'</td>\
|
||||
</tr>\
|
||||
</tbody>\
|
||||
</table>\
|
||||
</div>';
|
||||
}
|
||||
|
||||
html += '<div class="twelve columns">\
|
||||
<table id="vm_history_table" class="extended_table twelve">\
|
||||
<thead>\
|
||||
<tr>\
|
||||
|
Loading…
x
Reference in New Issue
Block a user