Skip to content

Commit

Permalink
Make title and description show up on @@confirm-action view.
Browse files Browse the repository at this point in the history
(Use fill-slot instead of define-slot).
  • Loading branch information
lukasgraf committed Oct 12, 2015
1 parent adcd123 commit 90d385c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
3.0.15 (unreleased)
-------------------

- Make title and description show up on @@confirm-action view.
[lgraf]

- Allow views to override 'X-Frame-Options' by setting the response header
manually.
[alecm]
Expand Down
4 changes: 2 additions & 2 deletions plone/protect/confirm.pt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
metal:use-macro="context/main_template/macros/master"
i18n:domain="plone">
<body>
<metal:title define-slot="content-title">
<metal:title fill-slot="content-title">
<h1 class="documentFirstHeading">
Confirming User Action.
</h1>
</metal:title>

<metal:description define-slot="content-description">
<metal:description fill-slot="content-description">
<div class="documentDescription">
Confirm that you'd like to perform this action.
</div>
Expand Down

0 comments on commit 90d385c

Please sign in to comment.