Make total and subtotal texts bold

This commit is contained in:
PCoder 2018-04-18 21:37:12 +02:00
parent 36c0b9a0a6
commit 4e3211b62f
2 changed files with 4 additions and 4 deletions
datacenterlight/templates/datacenterlight
hosting/templates/hosting

View file

@ -67,7 +67,7 @@
</p> </p>
{% if vm.vat > 0 %} {% if vm.vat > 0 %}
<p> <p>
<span>{% trans "Subtotal" %}: </span> <strong>{% trans "Subtotal" %}: </strong>
<span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span> <span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span>
</p> </p>
<p> <p>
@ -76,7 +76,7 @@
</p> </p>
{% endif %} {% endif %}
<p> <p>
<span>{% trans "Total" %}</span> <strong>{% trans "Total" %}</strong>
<span class="pull-right">{{vm.total_price|floatformat:2|intcomma}} CHF</span> <span class="pull-right">{{vm.total_price|floatformat:2|intcomma}} CHF</span>
</p> </p>
</div> </div>

View file

@ -129,7 +129,7 @@
</p> </p>
{% if vm.vat > 0 %} {% if vm.vat > 0 %}
<p> <p>
<span>{% trans "Subtotal" %}: </span> <strong>{% trans "Subtotal" %}: </strong>
<span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span> <span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span>
</p> </p>
<p> <p>
@ -138,7 +138,7 @@
</p> </p>
{% endif %} {% endif %}
<p> <p>
<span>{% trans "Total" %}</span> <strong>{% trans "Total" %}</strong>
<span class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %} CHF</span> <span class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %} CHF</span>
</p> </p>
</div> </div>