-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #694 from FitzwilliamMuseum/hotfix/14475-exhibitio…
…n-files-component fix: files component add to new exhibition template
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
resources/views/includes/elements/exhibitions/files.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@section('exhibitions-files') | ||
@if(!empty($exhibition['exhibition_files'])) | ||
@if (!empty($page_template)) | ||
@if (!empty($exhibition['exhibition_files'])) | ||
<x-exhibition-files :files="$exhibition['exhibition_files']"></x-exhibition-files> | ||
@endif | ||
@endsection | ||
@else | ||
@section('exhibitions-files') | ||
@if (!empty($exhibition['exhibition_files'])) | ||
<x-exhibition-files :files="$exhibition['exhibition_files']"></x-exhibition-files> | ||
@endif | ||
@endsection | ||
@endif |