clearer spacing in html

This commit is contained in:
Matthias 2021-05-05 21:48:58 +02:00
parent 2cfb9c60a3
commit 287a05ddc5

View File

@ -19,9 +19,10 @@
<td colspan='2'>{{ quantity }}</td>
</tr>
</table>
{% if part.supplier_count > 0 %}
{% if part.supplier_count > 0 %}
<h4>{% trans 'Supplier Pricing' %}</h4>
<table class='table table-striped table-condensed'>
<table class='table table-striped table-condensed'>
{% if min_total_buy_price %}
<tr>
<td><b>{% trans 'Unit Cost' %}</b></td>
@ -42,12 +43,12 @@
</td>
</tr>
{% endif %}
</table>
{% endif %}
</table>
{% endif %}
{% if part.bom_count > 0 %}
{% if part.bom_count > 0 %}
<h4>{% trans 'BOM Pricing' %}</h4>
<table class='table table-striped table-condensed'>
<table class='table table-striped table-condensed'>
{% if min_total_bom_price %}
<tr>
<td><b>{% trans 'Unit Cost' %}</b></td>
@ -75,8 +76,8 @@
</td>
</tr>
{% endif %}
</table>
{% endif %}
</table>
{% endif %}
{% if min_unit_buy_price or min_unit_bom_price %}
{% else %}
@ -84,7 +85,5 @@
{% trans 'No pricing information is available for this part.' %}
</div>
{% endif %}
<hr>
{% endblock %}