Metadata-Version: 2.4
Name: communesplone.layout
Version: 5.0.0
Summary: General layout adaptations
Home-page: https://github.com/IMIO/communesplone.layout
Author: CommunesPlone.org
Author-email: support@communesplone.be
License: GPL
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 6.2
Classifier: Framework :: Plone :: Addon
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.11
Requires-Dist: setuptools
Requires-Dist: plone.base
Requires-Dist: Products.CMFPlone
Requires-Dist: Products.GenericSetup
Requires-Dist: Products.PluggableAuthService
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.app.robotframework; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

.. image:: https://github.com/IMIO/communesplone.layout/actions/workflows/main.yml/badge.svg
    :target: https://github.com/IMIO/communesplone.layout/actions/workflows/main.yml
.. image:: https://coveralls.io/repos/github/IMIO/communesplone.layout/badge.svg
    :target: https://coveralls.io/github/IMIO/communesplone.layout

Introduction
============

This product is dedicated to override default plone layout.

Plone 6.2 (Classic UI), Python 3.11+. Plone 4 versions: 4.3.15.1 and older.

default profile
===============
Installs a browser layer: the login form (``@@login``, ``@@login_form``) shows a maintenance message
instead of the form when the ``source_users`` authentication plugin is deactivated.
The ``uninstall`` profile removes the browser layer.

simplify profile
================
Set site permissions only for managers (sharing, display menu, constrain types, ...)
and creates the ``full-layout`` group (members: Administrators, Site Administrators).
Adds the ``communesplone-layout-simplify`` CSS bundle for the authenticated users that are not Manager
nor in the ``full-layout`` group: it hides the Actions menu, the workflow "Advanced..." item,
the edit-form tabs but the first one and the versioning comment.

Changelog
=========

5.0.0 (2026-12-02)
------------------

- Plone 6.2 only (Python 3.10+), Plone 4 support dropped; package moved to the `src/` layout.
  [chris-adam]
- Skin layers removed: maintenance message on the `@@login` / `@@login_form` views (browser layer), new `uninstall` profile.
  [chris-adam]
- Send-to form captcha removed (collective.captcha dropped).
  [chris-adam]
- `simplify` profile: `simplify.css` is a bundle for Plone 6 markup, group and permissions set by a post handler.
  [chris-adam]
- Added unit and robot tests, Plone 6.2 buildout and GitHub Actions.
  [chris-adam]
- Dropped support for Plone versions below 6.2.
  [chris-adam]
- Dropped support for Python 3.10.
  [chris-adam]


4.3.15.1 (2020-02-25)
---------------------

- Validated for Plone 4.3.15.
  [gbastien]

4.3.8.1 (2017-05-17)
--------------------

- Adapted translation for 'label_by_author' from 'By {author}'
  to 'Created by ${author}'.
  [gbastien]


4.3.8 (2017-02-02)
------------------
- moved to Plone 4.3.8
  [gbastien]
- override the 'label_click_here_to_retrieve' translation to display a clear
  message on the link to retrieve password when lost
  [gbastien]

433 (unreleased)
----------------
- moved to Plone 4.3.3
  [gbastien]

432 (2014-02-12)
----------------
- moved to Plone 4.3.2
  [gbastien]

4 (2013-08-28)
--------------
- login_form overrides to display message when authentication plugins are deactivated
  [sgeulette]
- sendto_form overrides to integrate a captcha (collective.captcha)
  [gbastien]

