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
%WORKFLOWHISTORY{
"ControlledTestTopic"
header="
History
Rev |
Person |
State |
Comment |
Date |
"
format="
$rev |
Wikiusername |
$percntTRANSLATE{\"$state\"}$percnt |
$comment |
$date |
"
footer="
"
separator="$n"
}%
%WORKFLOWHISTORY{
"ClassifiedControlledTestTopic"
header="
History
Rev |
Person |
State |
Comment |
Date |
"
format="
$rev |
Wikiusername |
$percntTRANSLATE{\"$state\"}$percnt |
$comment |
$date |
"
footer="
"
separator="$n"
}%
Copyright
© 2006-2019 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.