From e104f5012f6e9ff20277b93715815a2bad6d6a79 Mon Sep 17 00:00:00 2001
From: nbm
Date: Tue, 18 Apr 2006 14:56:44 +0000
Subject: [PATCH] Restrict setting of workflows to those with the Core: Manage Workflow permission. Allow users with this permission to change the workflow on the document.
---
templates/ktcore/workflow/documentWorkflow.smarty | 58 +++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 37 insertions(+), 21 deletions(-)
diff --git a/templates/ktcore/workflow/documentWorkflow.smarty b/templates/ktcore/workflow/documentWorkflow.smarty
index f7b65b2..a382fb0 100644
--- a/templates/ktcore/workflow/documentWorkflow.smarty
+++ b/templates/ktcore/workflow/documentWorkflow.smarty
@@ -12,27 +12,6 @@ lifecycle of the document.{/i18n}
{i18n}Document has no assigned workflow.{/i18n}
-{if $aWorkflows}
-
-{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}