mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Re-enable image hovering where appropriate
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
{% for item in build.required_parts %}
|
||||
<tr>
|
||||
<td>
|
||||
{% include "hover_image.html" with image=item.part.image %}
|
||||
{% include "hover_image.html" with image=item.part.image hover=True %}
|
||||
<a class='hover-icon'a href="{% url 'part-detail' item.part.id %}">{{ item.part.full_name }}</a>
|
||||
</td>
|
||||
<td>{{ item.part.description }}</td>
|
||||
|
@ -21,7 +21,7 @@ Automatically allocate stock to this build?
|
||||
{% for item in allocations %}
|
||||
<tr>
|
||||
<td>
|
||||
{% include "hover_image.html" with image=item.stock_item.part.image %}
|
||||
{% include "hover_image.html" with image=item.stock_item.part.image hover=True %}
|
||||
</td>
|
||||
<td>
|
||||
{{ item.stock_item.part.full_name }}<br>
|
||||
|
@ -18,7 +18,7 @@ The following items will be removed from stock:
|
||||
{% for item in taking %}
|
||||
<tr>
|
||||
<td>
|
||||
{% include "hover_image.html" with image=item.stock_item.part.image %}
|
||||
{% include "hover_image.html" with image=item.stock_item.part.image hover=True %}
|
||||
</td>
|
||||
<td>
|
||||
{{ item.stock_item.part.full_name }}<br>
|
||||
@ -35,7 +35,7 @@ No parts have been allocated to this build.
|
||||
<hr>
|
||||
The following items will be created:
|
||||
<div class='panel panel-default'>
|
||||
{% include "hover_image.html" with image=build.part.image %}
|
||||
{% include "hover_image.html" with image=build.part.image hover=True %}
|
||||
{{ build.quantity }} x {{ build.part.full_name }}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user