Improved image and attachment viewing on part info page

This commit is contained in:
Jan Böhmer 2023-07-23 01:32:28 +02:00
parent 1de1eebc59
commit fc7e436ca9
3 changed files with 12 additions and 3 deletions

View file

@ -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>