From deadab7a1f12e8057e94a8f60f69ff2d62768984 Mon Sep 17 00:00:00 2001 From: bshuttle Date: Mon, 6 Feb 2006 09:03:59 +0000 Subject: [PATCH] improve the workflow-state overview, make it consistent between edit and view. --- templates/ktcore/workflow/editWorkflow.smarty | 13 +++++++------ templates/ktcore/workflow/manageStates.smarty | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) 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}