Commit 3b5e2f55f44f870563b8ea59453971d85be2f2c4

Authored by nbm
1 parent abcae52c

Fix the workflow fixme in the template


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4022 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/kt3/fieldsets/generic.smarty
... ... @@ -17,8 +17,15 @@
17 17 <dt>Document Type</dt>
18 18 <dd>{$document_type}</dd>
19 19  
20   - <dt>Status</dt>
21   - <dd>{$workflow_state} (<a href="workflow_state.php?wf_id={$workflow_id}">see workflow</a>)</dd>
  20 + <dt>Workflow status</dt>
  21 + <dd>
  22 +{if $workflow_state}
  23 +{$workflow_state->getName()}
  24 +{else}
  25 +No workflow
  26 +{/if}
  27 +(<a href="documentWorkflow.php?fDocumentId={$document->getId()}">manage workflow</a>)
  28 +</dd>
22 29 </dl>
23 30 <div class="floatClear"><!-- --> </div>
24   -</div>
25 31 \ No newline at end of file
  32 +</div>
... ...