Moved SHOW_PART_IMAGE_OVERLAY to settings-bundle

This commit is contained in:
Jan Böhmer 2025-07-06 21:53:06 +02:00
parent a4f2a7a7df
commit dc81a5b361
7 changed files with 65 additions and 6 deletions

View file

@ -13,7 +13,7 @@
<div class="carousel-item {% if loop.first %}active{% endif %}">
<a href="{{ entity_url(pic, 'file_view') }}" data-turbo="false" target="_blank" rel="noopener">
<img class="d-block w-100 img-fluid img-thumbnail bg-light part-info-image" src="{{ entity_url(pic, 'file_view') }}" alt="">
{% if img_overlay %}
{% if settings_instance("part_info").showPartImageOverlay %}
<div class="mask"></div>
<div class="carousel-caption-hover">
<div class="carousel-caption text-white">