Skip to end of banner
Go to start of banner

Customise Approval Buttons

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Overview

This example shows how to change the captions of the "Approve" and "Reject" buttons shown during a content review.

Default Captions

When a content review is created using the {approval} macro, buttons labeled "Approve" and "Reject" are added to the Workflow Popup.

Note: The buttons are only added if their target states are defined in the parent {state} macro via the approved and rejected parameters.

{workflow:name=Customise Approval Buttons}
   {state:Review|approved=Review|rejected=Review}
      {approval:Default Captions}
   {state}
{workflow}

Custom Captions

To change the button captions, use the approvelabel and rejectlabel parameters on the {approval} macro as shown below:

{workflow:name=Customise Approval Buttons}
   {state:Review|approved=Review|rejected=Review}
      {approval:Custom Captions|approvelabel=Yes|rejectlabel=No}
   {state}
{workflow}

  • No labels