2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

Visual tweaks

This commit is contained in:
Oliver Walters
2019-05-26 00:20:03 +10:00
parent 7881a67db4
commit 75b21bdd8f
3 changed files with 10 additions and 1 deletions

View File

@ -13,6 +13,12 @@
</div>
<hr>
{% if part.is_template %}
<div class='alert alert-info alert-block'>
Showing stock for all variants of <i>{{ part.full_name }}</i>
</div>
{% endif %}
{% include "stock_table.html" %}
{% endblock %}

View File

@ -39,7 +39,8 @@
<img class='hover-img-large' src="{{ variant.image.url }}">
{% endif %}
</div>
{{ variant.full_name }}</td>
<a href="{% url 'part-detail' variant.id %}">{{ variant.full_name }}</a>
</td>
<td>{{ variant.description }}</td>
<td>{{ variant.total_stock }}</td>
</tr>