aw schriftzug.png aw logo 60x60.png

ControlledTopicRenderWorkflowHistory
render a table of the workflow history

2019-05-02 - 10:19 | Version 1 |

Documentation

TODO

Parameters
  • OBJECT: topic name to render the workflow history for, defaults to BASEWEB.BASETOPIC

Implementation

%STARTINCLUDE%%WORKFLOWHISTORY{
   "%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%"
   header="<h2 >%TRANSLATE{"History"}%</h2>
<table class='foswikiTable foswikiFlatTable foswikiFullWidth foswikiStripes foswikiLayoutTable'>
<thead>
   <tr>
      <th>%TRANSLATE{"Rev"}%</th>
      <th>%TRANSLATE{"Person"}%</th>
      <th>%TRANSLATE{"State"}%</th>
      <th>%TRANSLATE{"Comment"}%</th>
      <th>%TRANSLATE{"Date"}%</th>
   </tr>
<thead><tbody>"
   format="<tr>
      <td> <b>[[%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%?rev=$rev][$rev]]</b> </td>
      <td> [[$wikiusername]] </td>
      <td> $percntTRANSLATE{\"$state\"}$percnt </td>
      <td> $comment </td>
      <td> $date </td>
   </tr>"
   footer="</tbody></table>"
   separator="$n"
}%%STOPINCLUDE%

Test

Controlled Test Topic

ERROR: DBCALL can't find method RenderWorkflowHistory for object Controlled Test Topic

Classified Controlled Test Topic

ERROR: DBCALL can't find method RenderWorkflowHistory for object Classified Controlled Test Topic

Copyright

© 2006-2015 Michael Daum http://michaeldaumconsulting.com

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

Impressum © Alexander Weimer GmbH