diff --git a/proxstar/templates/vm_details.html b/proxstar/templates/vm_details.html index 8d52e8c..25477ed 100644 --- a/proxstar/templates/vm_details.html +++ b/proxstar/templates/vm_details.html @@ -16,10 +16,10 @@ Insufficient resources to start VM. {% endif %} {% endif %} - {% if vm['qmpstatus'] == 'suspended' %} + {% if vm['qmpstatus'] == 'suspended' or vm['qmpstatus'] == 'paused' %} {% endif %} - {% if vm['qmpstatus'] == 'running' or vm['qmpstatus'] == 'suspended' %} + {% if vm['qmpstatus'] == 'running' or vm['qmpstatus'] == 'suspended' or vm['qmpstatus'] == 'paused' %} {% if vm['qmpstatus'] == 'running' %} @@ -92,7 +92,7 @@
Cores
{{ vm['config']['cores'] * vm['config'].get('sockets', 1) }} - {% if vm['qmpstatus'] == 'running' or vm['qmpstatus'] == 'suspended' %} + {% if vm['qmpstatus'] == 'running' or vm['qmpstatus'] == 'suspended' or vm['qmpstatus'] == 'paused' %} @@ -109,7 +109,7 @@ {% else %} {{ vm['config']['memory'] // 1024 }}GB {% endif %} - {% if vm['qmpstatus'] == 'running' or vm['qmpstatus'] == 'suspended' %} + {% if vm['qmpstatus'] == 'running' or vm['qmpstatus'] == 'suspended' or vm['qmpstatus'] == 'paused' %}