From e0e7cbd851a239bb7e142e923624d2e5fb2b6d22 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 16 Apr 2025 16:31:32 +0300 Subject: [PATCH] =?utf8?q?=D0=92=D0=B8=D0=B4=D0=B5=D0=BE=20=D0=BF=D1=80?= =?utf8?q?=D0=BE=D0=B8=D0=B3=D1=80=D1=8B=D0=B2=D0=B0=D1=82=D0=B5=D0=BB?= =?utf8?q?=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/bouquet/index.php | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/erp24/views/bouquet/index.php b/erp24/views/bouquet/index.php index 00b33dd2..6deb591d 100644 --- a/erp24/views/bouquet/index.php +++ b/erp24/views/bouquet/index.php @@ -171,15 +171,16 @@ $this->title = 'Содержание матрицы';
" . Html::a( - Html::img(isset($previewImageUrls[1]) ? $previewImageUrls[1] : '', [ - 'style' => 'width: 100%; height: 100%; object-fit: cover;', - ]), - 'javascript:;', // ссылка не должна вести никуда + + '', + 'javascript:;', [ 'data-fancybox' => $galleryId, 'data-src' => '', + + ', 'data-type' => 'html' ] ) . " @@ -201,16 +202,17 @@ $this->title = 'Содержание матрицы';
- " . Html::a( - Html::img(isset($previewImageUrls[2]) ? $previewImageUrls[2] : '', [ - 'style' => 'width: 100%; height: 100%; object-fit: cover;', - ]), + " . Html::a( + + '', 'javascript:;', [ 'data-fancybox' => $galleryId, 'data-src' => '', + + ', 'data-type' => 'html' ] ) . " -- 2.39.5