Commit c3c487a87afb50ffc823c59d6f46a39a0556315c
Exists in
master
Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su
Showing 1 changed file Side-by-side Diff
resources/views/info_company_new.blade.php
... | ... | @@ -202,9 +202,13 @@ |
202 | 202 | @foreach ($company[0]->flots as $flot) |
203 | 203 | <div class="main__employer-page-one-item flot-one-ship"> |
204 | 204 | @if (!empty($flot->image)) |
205 | - <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> | |
205 | + <a href="{{ asset(Storage::url($flot->image)) }}" data-fancybox="gallery" class="review-image-modal"> | |
206 | + <img src="{{ asset(Storage::url($flot->image)) }}" alt="{{ $flot->name }}"> | |
207 | + </a> | |
206 | 208 | @else |
207 | - <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> | |
209 | + <a href="{{ asset('images/default_ship.jpg') }}" data-fancybox="gallery" class="review-image-modal"> | |
210 | + <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $flot->name }}"> | |
211 | + </a> | |
208 | 212 | @endif |
209 | 213 | |
210 | 214 | <div class="bold font20">{{ $flot->name }}</div> |