{i18n}Manage Transitions{/i18n}

{i18n}Transitions are what drive the workflow of documents. Each step that needs to be followed in the document's lifecycle could map to a transition, and can be allowed or denied by a combination of roles, permissions and groups.{/i18n}

{i18n}Please Note: you can only delete states or transitions while the workflow has no documents or document-versions assigned to the workflow.{/i18n}

{i18n}Create a new transition{/i18n} {i18n}Create a new transition{/i18n} {i18n}Create a new transition{/i18n}
{if (empty($workflow_info.transitions))}
{i18n}This workflow does not define any transitions. Use the "Create a new transition" link above to add new transitions.{/i18n}
{else}

{i18n}Transition Availability{/i18n}

{i18n}Click on any transition below to edit it directly, or use the checkboxes to assign which states the transition is available from.{/i18n}

{foreach item=oState from=$workflow_info.states} {/foreach} {foreach item=oTransition from=$workflow_info.transitions} {foreach item=oState from=$workflow_info.states} {/foreach} {/foreach}
  {$oState->getName()}
{$oTransition->getName()} {if ($workflow_info.can_delete)} | {i18n}Delete{/i18n}{/if} {if ($oState->getId() != $oTransition->getTargetStateId())} transitionAvailable($oTransition, $oState))}checked="true"{/if}> {else}—{/if}
{/if}