Commit f64761c711f988b05c6d59793db1593f25991415
1 parent
40dab68e
Allow for roles and groups to be informed when a state is reached.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3878 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
20 additions
and
2 deletions
templates/ktcore/workflow/editState.smarty
| ... | ... | @@ -10,8 +10,26 @@ |
| 10 | 10 | <input type="submit" name="submit" value="Save" /> |
| 11 | 11 | </form> |
| 12 | 12 | |
| 13 | +<h2>Inform</h2> | |
| 14 | + | |
| 15 | +<p class="helpText">Please select which roles or groups should be | |
| 16 | +informed when this state is reached.</p> | |
| 17 | + | |
| 18 | +<h3>Roles</h3> | |
| 19 | +{entity_checkboxes entities=$aRoles name="fRolesIds" multiple="true" selected=$aInformRoles assign=aBoxes} | |
| 20 | +{foreach from=$aBoxes item=sBox} | |
| 21 | +{$sBox}<br /> | |
| 22 | +{/foreach} | |
| 23 | + | |
| 24 | +<h3>Groups</h3> | |
| 25 | +{entity_checkboxes entities=$aGroups name="fGroupIds" multiple="true" selected=$aInformGroups assign=aBoxes} | |
| 26 | +{foreach from=$aBoxes item=sBox} | |
| 27 | +{$sBox}<br /> | |
| 28 | +{/foreach} | |
| 29 | + | |
| 30 | +<h2>Transitions</h2> | |
| 13 | 31 | {if $aTransitionsTo} |
| 14 | -<h2>Transitions to this state</h2> | |
| 32 | +<h3>Transitions to this state</h3> | |
| 15 | 33 | |
| 16 | 34 | <ul> |
| 17 | 35 | {foreach from=$aTransitionsTo item=oTransition} |
| ... | ... | @@ -24,7 +42,7 @@ title="Transition |
| 24 | 42 | |
| 25 | 43 | {/if} |
| 26 | 44 | |
| 27 | -<h2>Transitions</h2> | |
| 45 | +<h3>Transitions from this state</h3> | |
| 28 | 46 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 29 | 47 | <input type="hidden" name="action" value="saveTransitions" /> |
| 30 | 48 | <input type="hidden" name="fWorkflowId" value="{$oWorkflow->getId()}" /> | ... | ... |