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 %} + + + + + {% if gallery_image.caption %} + {{ gallery_image.caption }} + {% endif %} + + {% endfor %} + + + {% endif %} + @@ -59,3 +91,15 @@ {% endblock %} + +{% block extra_scripts %} + + + +{% endblock %}
{{ gallery_image.caption }}