Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

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.

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
Release History

Release History

This version
History Node

2.1.5

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.0.2

History Node

2.0.1

History Node

2.0

History Node

1.0b2

History Node

1.0b1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.wfcomment-2.1.5.zip (87.2 kB) Copy SHA256 Checksum SHA256 Source May 31, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting