Skip to content

Commit

Permalink
Merge pull request #4 from eea/develop
Browse files Browse the repository at this point in the history
fix(layout): TTW DX Layout marker interface - refs #153858
  • Loading branch information
avoinea authored Sep 5, 2022
2 parents d9386c2 + ef9b76f commit f2c9c46
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

1.3 - (2022-09-05)
---------------------------
* Change: fix(layout): TTW DX Layout marker interface - refs #153858
[avoinea]

1.2 - (2022-08-11)
---------------------------
* Feature: Add blocks layout to Folder ctype [avoinea]
Expand Down
Empty file.
16 changes: 16 additions & 0 deletions eea/website/policy/behaviors/configure.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:plone="http://namespaces.plone.org/plone"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="eea">

<!-- XXX: To be removed when https://github.com/plone/plone.restapi/pull/1477/files merged and released -->
<plone:behavior
name="volto.blocks.editable.layout"
title="Blocks (Editable Layout)"
description="Enables Volto Blocks (editable layout) support"
provides=".interfaces.IBlocksEditableLayout"
/>

</configure>
7 changes: 7 additions & 0 deletions eea/website/policy/behaviors/interfaces.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
""" Volto blocks editable layout
"""
from plone.restapi.behaviors import IBlocks


class IBlocksEditableLayout(IBlocks):
"""Volto Blocks Editable Layout marker interface"""
1 change: 1 addition & 0 deletions eea/website/policy/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<include package="eea.progress.workflow" />

<include file="profiles.zcml" />
<include package=".behaviors" />
<include package=".browser" />
<include package=".upgrades" />

Expand Down
2 changes: 1 addition & 1 deletion eea/website/policy/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2
1.3

0 comments on commit f2c9c46

Please sign in to comment.