diff --git a/resources/views/components/image-card.blade.php b/resources/views/components/image-card.blade.php index 9e236ecb..9782cbed 100644 --- a/resources/views/components/image-card.blade.php +++ b/resources/views/components/image-card.blade.php @@ -1,7 +1,6 @@
@isset($image) -
- @isset($image) + + @isset($url) + @endisset + @isset($image) {{ $altTag }} - - @else - + @else A stand in image for {{ $title }} + @endisset + @isset($url) @endisset + +

- + @isset($url) + + {{ $title }} + + @else {{ $title }} - + @endisset

@isset($subtitle)

{{ $subtitle }}

diff --git a/resources/views/research/project.blade.php b/resources/views/research/project.blade.php index c9d1f634..79baa39e 100644 --- a/resources/views/research/project.blade.php +++ b/resources/views/research/project.blade.php @@ -61,12 +61,14 @@

Funders and partners

@foreach($project['project_partnerships'] as $partner) - - + @isset($partner['partner']) + + + @endisset @endforeach