Skip to content

Commit

Permalink
Fix existing_content tile for Plone 6.1 without portal_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer authored and petschki committed Sep 23, 2024
1 parent ddb7c6b commit b01a399
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
dummy python: plone_layout.mark_view(view);
portal_url portal_state/portal_url;
checkPermission nocall: context/portal_membership/checkPermission;
site_properties context/portal_properties/site_properties;
fix python:request.set('ACTUAL_URL', context.absolute_url());
">
<div metal:use-macro="item_macro">
Expand Down
2 changes: 1 addition & 1 deletion src/plone/app/standardtiles/templates/login.pt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</div>
<div class="field"
tal:define="
use_email_as_login context/portal_properties/site_properties/use_email_as_login|nothing;
use_email_as_login python:context.portal_registry['plone.use_email_as_login'];
"
>
<tal:loginname condition="not:use_email_as_login">
Expand Down

0 comments on commit b01a399

Please sign in to comment.