From 60fc2890f11ab1b2f1331ce37d92973f82f1e0ec Mon Sep 17 00:00:00 2001 From: Levi Date: Tue, 23 May 2017 11:50:02 -0500 Subject: [PATCH] added ipv4 and ipv6 to virtualmachine list --- hosting/templates/hosting/virtual_machines.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosting/templates/hosting/virtual_machines.html b/hosting/templates/hosting/virtual_machines.html index 27a02297..b43e1b86 100644 --- a/hosting/templates/hosting/virtual_machines.html +++ b/hosting/templates/hosting/virtual_machines.html @@ -26,7 +26,8 @@ {% trans "ID"%} - {% trans "Ipv4"%} + {% trans "Ipv4"%} + {% trans "Ipv6"%} {% trans "Status"%} @@ -35,9 +36,12 @@ {% for vm in vms %} {{vm.vm_id}} - {% if virtual_machine.ip %} - {{vm.price}} + {% if virtual_machine.ipv6 + {{virtual_machine.ipv4}} + + {{virtual_machine.ipv6}} {% endif %} + {% if vm.state == 'ACTIVE' %}