Add part hover image

This commit is contained in:
Oliver Walters 2019-07-25 11:08:22 +10:00
parent fe7392f152
commit c8bf20ad41

View File

@ -52,7 +52,10 @@
<table class="table table-striped">
<tr>
<td>Part</td>
<td><a href="{% url 'part-stock' item.part.id %}">{{ item.part.full_name }}</td>
<td>
{% include "hover_image.html" with image=item.part.image hover=True %}
<a href="{% url 'part-stock' item.part.id %}">{{ item.part.full_name }}
</td>
</tr>
{% if item.belongs_to %}
<tr>