Commit 39f0b307f0a4d978634a449fee688dd88189821d
1 parent
6f53921a
Provide a text box for the reason the transition is being performed.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3835 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
0 deletions
templates/ktcore/workflow/documentWorkflow.smarty
| @@ -26,10 +26,16 @@ | @@ -26,10 +26,16 @@ | ||
| 26 | <form action="{$smarty.server.PHP_SELF}" method="POST"> | 26 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 27 | <input type="hidden" name="action" value="performTransition" /> | 27 | <input type="hidden" name="action" value="performTransition" /> |
| 28 | <input type="hidden" name="fDocumentId" value="{$oDocument->getId()}" /> | 28 | <input type="hidden" name="fDocumentId" value="{$oDocument->getId()}" /> |
| 29 | +<table class="prettysw" cellpadding="0" cellspacing="0"> | ||
| 30 | +<tr><th>Transition to perform</th><td> | ||
| 29 | {entity_radios entities=$aTransitions name=fTransitionId assign=aRadio method=showDescription} | 31 | {entity_radios entities=$aTransitions name=fTransitionId assign=aRadio method=showDescription} |
| 30 | {foreach from=$aRadio item=sRadio} | 32 | {foreach from=$aRadio item=sRadio} |
| 31 | {$sRadio}<br /> | 33 | {$sRadio}<br /> |
| 32 | {/foreach} | 34 | {/foreach} |
| 35 | +</td></tr> | ||
| 36 | +<tr><th>Reason for transition</th><td><input type="textbox" name="fComments" | ||
| 37 | +/></td></tr> | ||
| 38 | +</table> | ||
| 33 | <input type="submit" name="submit" value="Perform Transition" /> | 39 | <input type="submit" name="submit" value="Perform Transition" /> |
| 34 | </form> | 40 | </form> |
| 35 | 41 |