Skip to main content

Add a prompt on selected workflow transitions for the user to enter a comment

Project description

https://travis-ci.org/collective/collective.wfcomment.png?branch=master

Introduction

This package installs a JavaScript handler (using jQuery) that will present a prompt box inviting the user to enter a comment before triggering a workflow transition from the ‘state’ drop-down in a standard Plone site.

The handler will only be used for workflow actions using the standard content_status_modify script.

You can restrict this behaviour on some transitions through a control panel.

You can make the comment required or not.

Screenshot

If enabled, you’ll see a popup as shown below when initiating a workflow transition.

https://raw.github.com/collective/collective.wfcomment/master/docs/screenshot-wfcomment.jpg

Requirements

  • Plone 4.0+ (tested under Plone 4.0, 4.1, 4.2 and 4.3).

  • Tested with ie6, ie7, ff3, ff4, chrome.

Languages

  • English

  • French

  • German

Credits

  • Martin Aspeli, release 1.0

  • Vincent Fretin and Thomas Desvenain, release 2.0

  • Daniel Widerin [saily]

Changelog

2.1.5 (2013-05-31)

  • Split up robottests into keywords.robot which is reusable in your tests, by adding:

    *** Settings ***
    Resource    plone/app/robotframework/selenium.robot
    Resource    plone/app/robotframework/keywords.robot
    Resource    collective/wfcomment/tests/robot/keywords.robot
    ...

    [saily]

  • Use id or name selectors to make keywords.robot more generic and reuseable for any languages. [saily]

2.1.4 (2013-05-17)

  • Add a new test and remove unneeded ones. [saily]

  • Add support for dexterity content types. [saily]

  • Update permissions for comment view and javascript viewlet. [saily]

2.1.3 (2013-05-16)

  • Add tests using robotframework, travis integration and . [saily]

  • Add german translations and add an update_translations script to be generated through buildout. [saily]

  • ‘form.buttons.cancel’ in prepOverlay closeselector has to be in quotes to avoid unrecognized expression javascript errors. [saily]

  • Set correct javascript filter for prepOverlay. [saily]

  • Move from svn to collective, merge tdesvenain’s remote repo into collective. Please maintain in collective in future. [saily]

  • Restructure buildout for Plone 4.3 and Plone 4.2. [saily]

2.1.2 (2013-04-18)

  • Really removed kss dependency (unused imports) [cedricmessiant]

2.1.1 (2012-07-29)

  • Full jquery: kss behaviours entirely replaced. Fixes under 4.1.x [thomasdesvenain]

2.0.2 (2011-05-02)

  • controlpanel: hide transition selection if ‘all transitions’ option is selected. [thomasdesvenain]

  • fix when ‘all transitions’ option is selected. [thomasdesvenain]

  • fix plone.app.registry dependency [toutpt]

2.0.1 (2011-05-02)

  • Fixed profile.

2.0 (2011-04-28)

Complete rewrite:

  • uses ajax internationalized form,

  • allows to select a list of transitions,

  • kss compliant.

[vincentfretin, thomasdesvenain]

1.0b2 - 2009-08-31

  • Fix ‘undefined’ error in IE.

1.0b1 - 2009-03-19

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.wfcomment-2.1.5.zip (87.2 kB view details)

Uploaded Source

File details

Details for the file collective.wfcomment-2.1.5.zip.

File metadata

File hashes

Hashes for collective.wfcomment-2.1.5.zip
Algorithm Hash digest
SHA256 97adf8e853016bed22a9d3a6a8567f54a7cda8bb355490336291a4312cd8335a
MD5 c6575b5e267eaa02608a8545427191ed
BLAKE2b-256 178c9a018c5a40b59c0c03622d24d938a17ab44dace0b7356d41880a09b21110

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page