added ipv4 and ipv6 to virtualmachine list
This commit is contained in:
parent
e278ff742d
commit
60fc2890f1
1 changed files with 7 additions and 3 deletions
|
@ -27,6 +27,7 @@
|
|||
<tr>
|
||||
<th>{% trans "ID"%}</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' %}
|
||||
|
|
Loading…
Reference in a new issue