Merge pull request #266 from levivm/develop

Develop
This commit is contained in:
Levi Velázquez 2017-05-23 11:51:07 -05:00 committed by GitHub
commit 9dee72a91c
4 changed files with 11 additions and 5 deletions

View file

@ -227,7 +227,7 @@
<h3>{% trans "VM hosting" %} </h3>
</div>
<div class="price">
<span>15CHF</span>
<span>15CHF/month</span>
</div>
<div class="descriptions">
<div class="description">

View file

@ -36,7 +36,7 @@
CORE: {{config.cpu|floatformat}},
RAM: {{config.memory|floatformat}} GiB,
SSD: {{config.disk_size|floatformat}} GiB,
PRICE: {{config.price|floatformat}} CHF
PRICE: {{config.price|floatformat}} CHF/Month
</option>
{% endfor %}
</select>

View file

@ -104,7 +104,7 @@
<div class="row ">
<div class="col-md-12 inline-headers">
<h3>{% trans "Current pricing"%}</h3>
<span class="h3 pull-right"><strong>{{virtual_machine.price|floatformat}} CHF</strong>/mo</span>
<span class="h3 pull-right"><strong>{{virtual_machine.price|floatformat}} CHF</strong>/month</span>
<hr>
</div>
</div>

View file

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