mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-20 18:09:30 +00:00
Allow to show the footprint image in part info.
Also added an placehoder image for parts, who dont have an image.
This commit is contained in:
parent
2e3713cd5e
commit
40714c1914
4 changed files with 86 additions and 3 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="https://via.placeholder.com/300" class="img-fluid img-thumbnail" height="300" width="300">
|
||||
<img src="{{ main_image }}" class="img-fluid img-thumbnail bg-light" height="300" width="300">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h5 class="text-muted pt-2" title="{% trans %}manufacturer.label{% endtrans %}">{{ part.manufacturer.name ?? ""}}</h5>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue