This work is a solution to ticket #14475 on Zendesk and adds support for a new field named "Related Documents" and does the following:
Changes the empty check in exhibitions/templates/details-2024.blade.php from $exhibition['exhibition_files'] to $exhibition['related_documents'] so that the related_documents field is only used by the new template
Introduces the $source variable that's initialised and given a default value in the exhibitions/files.blade.php file and passed a custom value in the @include in details-2024.blade.php to simplify the template code.
This work has been deployed to staging and approved by the client for deployment to production.
…s to live
This work is a solution to ticket #14475 on Zendesk and adds support for a new field named "Related Documents" and does the following:
Changes the empty check in
exhibitions/templates/details-2024.blade.php
from$exhibition['exhibition_files']
to$exhibition['related_documents']
so that therelated_documents
field is only used by the new templateIntroduces the
$source
variable that's initialised and given a default value in theexhibitions/files.blade.php
file and passed a custom value in the@include
indetails-2024.blade.php
to simplify the template code.This work has been deployed to staging and approved by the client for deployment to production.