Skip to content

Commit

Permalink
[BUGFIX] Fix DirtyProperties of Redirect
Browse files Browse the repository at this point in the history
The Changes Props information is reenabled.
  • Loading branch information
dhoffmann1979 committed Nov 6, 2024
1 parent 204db5b commit 6cf8161
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/Private/Partials/Redirect/DirtyProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

Line breaks and whitespace is visible where this partial is rendered.
</f:comment>
<f:if condition="{redirect.record.state} == 'changed'"><f:then>
<f:if condition="{redirect.state} == 'changed'"><f:then>
<f:translate key="redirect.record.property" /> | <f:translate key="redirect.record.property.old" /> -> <f:translate key="redirect.record.property.new" />

<f:for each="{redirect.record.dirtyProperties}" as="name">{name} | <publish:Miscellaneous.GetPropertyFromStagingDefinition record="{redirect.record}" propertyName="{name}" stagingLevel="foreign"/> -> <publish:Miscellaneous.GetPropertyFromStagingDefinition record="{redirect.record}" propertyName="{name}" stagingLevel="local"/>
<f:for each="{redirect.changedProps}" as="name">{name} | <publish:Miscellaneous.GetPropertyFromStagingDefinition record="{redirect}" propertyName="{name}" stagingLevel="foreign"/> -> <publish:Miscellaneous.GetPropertyFromStagingDefinition record="{redirect}" propertyName="{name}" stagingLevel="local"/>
</f:for>
</f:then><f:else>
<f:translate key="record.state.{redirect.record.state}" />
<f:translate key="record.state.{redirect.state}" />
</f:else></f:if>
</html>

0 comments on commit 6cf8161

Please sign in to comment.