mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Re-enable image hovering where appropriate
This commit is contained in:
parent
8e0e2979b5
commit
782ad57f52
@ -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>
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
{% for variant in part.variants.all %}
|
||||
<tr>
|
||||
<td>
|
||||
{% include "hover_image.html" with image=variant.image %}
|
||||
{% include "hover_image.html" with image=variant.image hover=True %}
|
||||
<a href="{% url 'part-detail' variant.id %}">{{ variant.full_name }}</a>
|
||||
</td>
|
||||
<td>{{ variant.description }}</td>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</tr>
|
||||
{% for item in stock_items %}
|
||||
<tr id='stock-row-{{ item.id }}' class='error'>
|
||||
<td>{% include "hover_image.html" with image=item.part.image %}
|
||||
<td>{% include "hover_image.html" with image=item.part.image hover=True %}
|
||||
{{ item.part.full_name }} <small><i>{{ item.part.description }}</i></small></td>
|
||||
<td>{{ item.location.pathstring }}</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user