Skip to content

Commit

Permalink
Merge pull request #27 from plone/lg-prettify-confirm-action
Browse files Browse the repository at this point in the history
Show title and description in @@confirm-action view, disable editable border
  • Loading branch information
vangheem committed Oct 13, 2015
2 parents adcd123 + a71f2ed commit e560f73
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changelog
3.0.15 (unreleased)
-------------------

- Disable editable border for @@confirm-action view.
[lgraf]

- 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
8 changes: 6 additions & 2 deletions plone/protect/confirm.pt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
lang="en"
metal:use-macro="context/main_template/macros/master"
i18n:domain="plone">

<metal:block fill-slot="top_slot"
tal:define="dummy python:request.set('disable_border', 1)" />

<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 e560f73

Please sign in to comment.