get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Workflow for{/i18n}:
{$oDocument->getName()}

{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}

{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}
{if !$oWorkflow} {i18n}Start workflow on document{/i18n} {assign var=none value=""} {else} {i18n}Change workflow on document{/i18n} {assign var=none value=true} {/if} {if $aWorkflows} {if $bHasPerm}

{i18n}Please note that changing the workflow on a document will start the workflow at the beginning of the new workflow. This is true even if the new workflow is identical to the old one.{/i18n}

{entity_select entities=$aWorkflows name=fWorkflowId none=$none}
{if !$oWorkflow} {else} {/if}
{else}
{i18n}You do not have permission to change the workflow that is assigned to this document.{/i18n}
{/if} {else}

{i18n}No defined workflows{/i18n}

{i18n}There are no defined workflows which can be started on this document. An administrator can create workflows to map the lifecycle of a document. Contact your administrator to discuss workflows.{/i18n}
{/if}