From cb8d65a286dc724b1c5a3fd224a08fe3287d7f8e Mon Sep 17 00:00:00 2001 From: nbm Date: Thu, 15 Dec 2005 14:13:01 +0000 Subject: [PATCH] Only show roles if there are roles to show. Don't show assigned permissions, as they don't work yet. --- templates/ktcore/workflow/editState.smarty | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/templates/ktcore/workflow/editState.smarty b/templates/ktcore/workflow/editState.smarty index 0e9d85e..863cb5e 100644 --- a/templates/ktcore/workflow/editState.smarty +++ b/templates/ktcore/workflow/editState.smarty @@ -24,11 +24,13 @@ informed when this state is reached.{/i18n}

+{if $aRoles}

{i18n}Roles{/i18n}

{entity_checkboxes entities=$aRoles name="fRoleIds" multiple="true" selected=$aInformed.role assign=aBoxes} {foreach from=$aBoxes item=sBox} {$sBox}
{/foreach} +{/if}

{i18n}Groups{/i18n}

{entity_checkboxes entities=$aGroups name="fGroupIds" multiple="true" selected=$aInformed.group assign=aBoxes} @@ -50,11 +52,13 @@ informed when this state is reached.{/i18n}

+{*

{i18n}Assigned Permissions{/i18n}

{i18n}While in this workflow state, additional permissions may be given. This is done either to expose the document to more users or to allow a particular role to be fulfilled before a workflow transition can be accomplished.{/i18n}

+*}
-- libgit2 0.21.4