Add hover image to 'parts to order' table

This commit is contained in:
Oliver Walters 2019-06-11 21:52:43 +10:00
parent 5fc6617713
commit 50bab299c5

View File

@ -9,7 +9,10 @@
</tr>
{% for part in parts %}
<tr>
<td><a href="{% url 'part-detail' part.id %}">{{ part.full_name }}</a></td>
<td>
{% include "hover_image.html" with image=part.image hover=True %}
<a href="{% url 'part-detail' part.id %}">{{ part.full_name }}</a>
</td>
<td>{{ part.description }}</td>
<td>{{ part.allocation_count }}</td>
<td>{{ part.total_stock }}</td>