diff --git a/templates/ktcore/workflow/documentWorkflow.smarty b/templates/ktcore/workflow/documentWorkflow.smarty index f92c072..c185ca0 100644 --- a/templates/ktcore/workflow/documentWorkflow.smarty +++ b/templates/ktcore/workflow/documentWorkflow.smarty @@ -1,43 +1,50 @@ -

Document Workflow

+

Document Workflow

+ +

+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. +

{if !$oWorkflow} -

No workflow

+

No workflow

Document has no assigned workflow.

+
Start workflow on document {entity_select entities=$aWorkflows name=fWorkflowId} +
+
+
{else} -

Current workflow settings

- - - - -
Workflow{$oWorkflow->getName()}
State{$oState->getName()}
+

Current workflow settings

-

Transition to another workflow state

+
+
Workflow
{$oWorkflow->getName()}
+
State
{$oState->getName()}
+
+{if $aTransitions}
- - - -
Transition to perform -{entity_radios entities=$aTransitions name=fTransitionId assign=aRadio method=showDescription} -{foreach from=$aRadio item=sRadio} -{$sRadio}
+
Transition to another workflow state +{foreach from=$transition_fields item=oWidget } + {$oWidget->render()} {/foreach} -
Reason for transition
+
+
+
- +{/if} {/if}