Breaking: Adapted frontend editing templates for contact record visibility
Description
To support showing and hiding contact records in the frontend (see Feature: Show and hide contact records in the frontend editing), the frontend editing templates and partials rendering the contact records of a contract were changed.
The following Fluid files were modified:
Resources/Private/Templates/Contract/Show.htmlResources/Private/Partials/Profile/List/PhysicalAddresses.htmlResources/Private/Partials/Profile/List/EmailAddresses.htmlResources/Private/Partials/Profile/List/PhoneNumbers.html
The relevant changes are:
- The list partials no longer iterate the contract relation
(
{contract.,physical Addresses} {contract.,email Addresses} {contract.). They now iterate dedicated variables (phone Numbers} {physical,Addresses} {email,Addresses} {phone) assigned by the controller, which also contain hidden records.Numbers} Contract/passes these new variables to the partials.Show. html - Each row gained a show/hide toggle and a "Hidden" badge, and the remaining row actions are only rendered for visible records.
Impact
Installations that override or extend any of these templates or partials for project specific styling will not show the new show/hide functionality and may not list hidden records, until the overrides are adapted.
Affected Installations
All installations using the EXT: extension that
override the contract show template or the contact record list partials.
Migration
Re-apply the project specific overrides on top of the updated templates
and partials: switch the list iterations to the new {physical,
{email and {phone variables and integrate the new
show/hide toggle column.