Commit cb8d65a286dc724b1c5a3fd224a08fe3287d7f8e
1 parent
5c2a0468
Only show roles if there are roles to show. Don't show assigned
permissions, as they don't work yet. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4464 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
0 deletions
templates/ktcore/workflow/editState.smarty
| ... | ... | @@ -24,11 +24,13 @@ |
| 24 | 24 | informed when this state is reached.{/i18n}</p> |
| 25 | 25 | |
| 26 | 26 | |
| 27 | +{if $aRoles} | |
| 27 | 28 | <h3>{i18n}Roles{/i18n}</h3> |
| 28 | 29 | {entity_checkboxes entities=$aRoles name="fRoleIds" multiple="true" selected=$aInformed.role assign=aBoxes} |
| 29 | 30 | {foreach from=$aBoxes item=sBox} |
| 30 | 31 | {$sBox}<br /> |
| 31 | 32 | {/foreach} |
| 33 | +{/if} | |
| 32 | 34 | |
| 33 | 35 | <h3>{i18n}Groups{/i18n}</h3> |
| 34 | 36 | {entity_checkboxes entities=$aGroups name="fGroupIds" multiple="true" selected=$aInformed.group assign=aBoxes} |
| ... | ... | @@ -50,11 +52,13 @@ informed when this state is reached.{/i18n}</p> |
| 50 | 52 | </fieldset> |
| 51 | 53 | |
| 52 | 54 | |
| 55 | +{* | |
| 53 | 56 | <h3>{i18n}Assigned Permissions{/i18n}</h3> |
| 54 | 57 | <p class="descriptiveText">{i18n}While in this workflow state, additional permissions |
| 55 | 58 | may be given. This is done either to expose the document to more users |
| 56 | 59 | or to allow a particular role to be fulfilled before a workflow |
| 57 | 60 | transition can be accomplished.{/i18n}</p> |
| 61 | +*} | |
| 58 | 62 | |
| 59 | 63 | |
| 60 | 64 | <fieldset> | ... | ... |