2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add some pretty buttons to the purchase order detail table

This commit is contained in:
Oliver Walters
2019-06-13 21:44:09 +10:00
parent a37a2120fa
commit d860336060
3 changed files with 31 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<a class='hover-icon'>
{% endif %}
<img class='hover-img-thumb' {% if image %}src='{{ image.url }}'{% else %}src='{% static "img/blank_image.png" %}'{% endif %}>
{% if hover %}
{% if hover and image %}
<img class='hover-img-large' {% if image %}src='{{ image.url }}'{% else %}src='{% static "img/blank_image.png" %}'{% endif %}>
</a>
{% endif %}