File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
includes/elements/exhibitions Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 17
17
<x-exhibition-cta :exhibition =" $exhibition" ></x-exhibition-cta >
18
18
19
19
@include (' support.components.components-repeater' , [' page' => $exhibition ] )
20
-
21
20
{{-- {{ dd($exhibition) }} --}}
22
21
22
+ @if (! empty ($exhibition [' exhibition_files' ]) )
23
+ @include (' includes.elements.exhibitions.files' )
24
+ @endif
25
+
23
26
@if ($reposition_curators == false && (! empty ($exhibition [' associated_curators' ]) || ! empty ($exhibition [' external_curators' ])) )
24
27
@include (' exhibitions.components.curators' )
25
28
@endif
Original file line number Diff line number Diff line change 1
- @section ( ' exhibitions-files ' )
2
- @if (! empty ($exhibition [' exhibition_files' ]) )
1
+ @if ( ! empty ( $page_template ) )
2
+ @if (! empty ($exhibition [' exhibition_files' ]) )
3
3
<x-exhibition-files :files =" $exhibition['exhibition_files']" ></x-exhibition-files >
4
4
@endif
5
- @endsection
5
+ @else
6
+ @section (' exhibitions-files' )
7
+ @if (! empty ($exhibition [' exhibition_files' ]) )
8
+ <x-exhibition-files :files =" $exhibition['exhibition_files']" ></x-exhibition-files >
9
+ @endif
10
+ @endsection
11
+ @endif
You can’t perform that action at this time.
0 commit comments