Skip to content

Commit

Permalink
Merge pull request #697 from FitzwilliamMuseum/hotfix/exhibition-files
Browse files Browse the repository at this point in the history
Add new junction collection for exhibition files
  • Loading branch information
JamieC24 authored Jul 18, 2024
2 parents a513fb0 + 68a92a3 commit b5fa6eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions resources/views/components/exhibition-files.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@
<ul>
@foreach($files as $file)
<li>
@if(!empty($file['directus_files_id']))
<a href="{{ $file['directus_files_id']['data']['full_url'] }}">
{{ $file['directus_files_id']['title'] }}
</a>
@elseif(!empty($file['related_document_id']))
<a href="{{ $file['related_document_id']['data']['full_url'] }}">
{{ $file['related_document_id']['title'] }}
</a>
@endif
</li>
@endforeach
</ul>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/includes/structure/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@
mx-2"])
</a>
<a aria-label="Fitzwilliam Museum twitter account" href="https://twitter.com/FitzMuseum_UK">
@svg('fab-x-twitter',['width'=> 48,'height'=> 48, 'alt' => "X logo", "class" => "my-2
mx-2"])
{{-- @svg('fab-x-twitter',['width'=> 48,'height'=> 48, 'alt' => "X logo", "class" => "my-2
mx-2"]) --}}
</a>
<a aria-label="Fitzwilliam Museum linkedin account"
href="https://www.linkedin.com/company/the-fitzwilliam-museum/">
Expand Down

0 comments on commit b5fa6eb

Please sign in to comment.