Update order_detail landing template

This commit is contained in:
PCoder 2018-04-15 21:04:06 +02:00
parent 23bd0fa147
commit 40b984be15

View file

@ -65,9 +65,15 @@
<span>{% trans "Disk space" %}: </span>
<span class="pull-right">{{vm.disk_size|intcomma}} GB</span>
</p>
{% if vm.vat > 0 %}
<p>
<span>{% trans "VAT" %}: </span>
<span class="pull-right">{{vm.vat|floatformat|intcomma}} CHF</span>
</p>
{% endif %}
<p>
<span>{% trans "Total" %}</span>
<span class="pull-right">{{vm.price|intcomma}} CHF</span>
<span class="pull-right">{{vm.total_price|floatformat|intcomma}} CHF</span>
</p>
</div>
</div>
@ -78,7 +84,7 @@
{% csrf_token %}
<div class="row">
<div class="col-sm-8">
<div class="dcl-place-order-text">{% blocktrans with vm_price=request.session.specs.price %}By clicking "Place order" this plan will charge your credit card account with the fee of {{ vm_price }}CHF/month{% endblocktrans %}.</div>
<div class="dcl-place-order-text">{% blocktrans with vm_total_price=vm.total_price|floatformat|intcomma %}By clicking "Place order" this plan will charge your credit card account with the fee of {{vm_total_price}} CHF/month{% endblocktrans %}.</div>
</div>
<div class="col-sm-4 order-confirm-btn text-right">
<button class="btn choice-btn" id="btn-create-vm" data-toggle="modal" data-target="#createvm-modal">