mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 18:25:04 +02:00
Improved image and attachment viewing on part info page
This commit is contained in:
parent
1de1eebc59
commit
fc7e436ca9
3 changed files with 12 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
<img class="d-block w-100 img-fluid img-thumbnail bg-light part-info-image" src="{{ entity_url(pic, 'file_view') }}" alt="">
|
||||
<div class="mask"></div>
|
||||
<div class="carousel-caption-hover">
|
||||
<div class="carousel-caption text-body ">
|
||||
<div class="carousel-caption text-white">
|
||||
<div><b>{{ pic.name }}</b></div>
|
||||
<div>{% if pic.filename %}({{ pic.filename }}) {% endif %}</div>
|
||||
<div>{{ entity_type_label(pic.element) }}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue