mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Add template for hover_image
This commit is contained in:
12
InvenTree/templates/hover_image.html
Normal file
12
InvenTree/templates/hover_image.html
Normal file
@ -0,0 +1,12 @@
|
||||
{% load static %}
|
||||
|
||||
<div class='hover-icon media-left' style='float: left;'>
|
||||
{% if image %}
|
||||
<a class='hover-icon'>
|
||||
{% endif %}
|
||||
<img class='hover-img-thumb' {% if image %}src='{{ image.url }}'{% else %}src='{% static "img/blank_image.png" %}'{% endif %}>
|
||||
{% if image %}
|
||||
<img class='hover-img-large' src='{{ image.url }}'>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
Reference in New Issue
Block a user