diff --git a/templates/ktcore/workflow/editWorkflow.smarty b/templates/ktcore/workflow/editWorkflow.smarty
index faa0cb6..8055c73 100644
--- a/templates/ktcore/workflow/editWorkflow.smarty
+++ b/templates/ktcore/workflow/editWorkflow.smarty
@@ -22,23 +22,24 @@
workflow. To modify items, either select them from the overview below,
or use the "Workflow" menu on the left to create new ones.{/i18n}
-{if (empty($aStates))}
-This workflow does not define any states. Please use the
-Workflow menu (on the left) to create new states.
+{if (empty($workflow_info.states))}
+This workflow does not define any states.
{else}
-{foreach item=oState from=$aStates}
+{foreach item=oState from=$workflow_info.states}
- State: {$oState->getName()}
+ {if ($workflow_info.can_delete)} | {i18n}Delete{/i18n}{/if}
- - {i18n}Notified groups & roles:{/i18n}
+
- {i18n}Notified groups & roles:{/i18n}
{$context->getNotificationStringForState($oState)}
+
- {i18n}Controlled Actions available: {/i18n}
{$context->getActionStringForState($oState)}
- {i18n}Permissions overridden:{/i18n} {$context->getPermissionStringForState($oState)}
-
+
- {i18n}Transitions available: {/i18n}
{$context->getTransitionFromStringForState($oState)}
diff --git a/templates/ktcore/workflow/manageStates.smarty b/templates/ktcore/workflow/manageStates.smarty
index f203b98..66f1ce8 100644
--- a/templates/ktcore/workflow/manageStates.smarty
+++ b/templates/ktcore/workflow/manageStates.smarty
@@ -27,17 +27,17 @@ various different states for documents.
- State: {$oState->getName()}
{if ($workflow_info.can_delete)} | {i18n}Delete{/i18n}{/if}