added ipv4 and ipv6 to virtualmachine list

This commit is contained in:
Levi 2017-05-23 11:50:02 -05:00
parent e278ff742d
commit 60fc2890f1

View file

@ -26,7 +26,8 @@
<thead>
<tr>
<th>{% trans "ID"%}</th>
<th>{% trans "Ipv4"%}</th>
<th>{% trans "Ipv4"%}</th>
<th>{% trans "Ipv6"%}</th>
<th>{% trans "Status"%}</th>
<th></th>
</tr>
@ -35,9 +36,12 @@
{% for vm in vms %}
<tr>
<td scope="row">{{vm.vm_id}}</td>
{% if virtual_machine.ip %}
<td>{{vm.price}}</td>
{% if virtual_machine.ipv6
<td>{{virtual_machine.ipv4}}</td>
<td>{{virtual_machine.ipv6}}</td>
{% endif %}
<td>
{% if vm.state == 'ACTIVE' %}