{i18n}Document Workflow{/i18n}

{i18n}Workflow is a description of a document's lifecycle. It is made up of workflow states, which describe where in the lifecycle the document is, and workflow transitions, which describe the next steps within the lifecycle of the document.{/i18n}

{if !$oWorkflow}

{i18n}No workflow{/i18n}

{i18n}Document has no assigned workflow.{/i18n}

{i18n}Start workflow on document{/i18n} {entity_select entities=$aWorkflows name=fWorkflowId}
{else}

{i18n}Current workflow settings{/i18n}

{i18n}Workflow{/i18n}
{$oWorkflow->getName()}
{i18n}State{/i18n}
{$oState->getName()}
{if $aTransitions}
{i18n}Transition to another workflow state{/i18n} {foreach from=$transition_fields item=oWidget } {$oWidget->render()} {/foreach}
{/if} {/if}