From 3e330f55f68af4464080dfd629df3e9421b119df Mon Sep 17 00:00:00 2001 From: "Andrew K. Choi" Date: Mon, 24 Nov 2025 14:16:31 +0900 Subject: [PATCH] Complete portfolio gallery: add Lightbox JS and configuration --- .../web/templates/web/portfolio_detail.html | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/smartsoltech/web/templates/web/portfolio_detail.html b/smartsoltech/web/templates/web/portfolio_detail.html index e1887f1..b3911dc 100644 --- a/smartsoltech/web/templates/web/portfolio_detail.html +++ b/smartsoltech/web/templates/web/portfolio_detail.html @@ -3,6 +3,19 @@ {% block title %}{{ item.title }} - Портфолио - SmartSolTech{% endblock %} +{% block extra_head %} + + + +{% endblock %} + {% block content %}
@@ -40,6 +53,25 @@
{% endif %} + + {% if item.gallery_images.all %} +
+

Галерея проекта

+
+ {% for gallery_image in item.gallery_images.all %} +
+ + {{ gallery_image.caption }} + + {% if gallery_image.caption %} +

{{ gallery_image.caption }}

+ {% endif %} +
+ {% endfor %} +
+
+ {% endif %} +
@@ -59,3 +91,15 @@
{% endblock %} + +{% block extra_scripts %} + + + +{% endblock %}