mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +00:00
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
commit
f6f5a92c9b
|
@ -84,6 +84,7 @@
|
||||||
- new calendar
|
- new calendar
|
||||||
- move folder/document properly checks for access right if done by drag and
|
- move folder/document properly checks for access right if done by drag and
|
||||||
drop (Closes #309)
|
drop (Closes #309)
|
||||||
|
- show workflow log on document details page
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 4.3.32
|
Changes in version 4.3.32
|
||||||
|
|
|
@ -468,6 +468,25 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
||||||
print "</tbody>\n</table>\n";
|
print "</tbody>\n</table>\n";
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
||||||
|
$wkflogs = $version->getWorkflowLog();
|
||||||
|
if($wkflogs) {
|
||||||
|
$this->contentHeading(getMLText("workflow_summary"));
|
||||||
|
$this->contentContainerStart();
|
||||||
|
echo "<table class=\"table table-condensed\"><thead>";
|
||||||
|
echo "<th>".getMLText('date')."</th><th>".getMLText('action')."</th><th>".getMLText('user')."</th><th>".getMLText('comment')."</th></tr>\n";
|
||||||
|
echo "</thead><tbody>";
|
||||||
|
foreach($wkflogs as $wkflog) {
|
||||||
|
echo "<tr>";
|
||||||
|
echo "<td>".$wkflog->getDate()."</td>";
|
||||||
|
echo "<td>".$wkflog->getTransition()->getAction()->getName()."</td>";
|
||||||
|
$loguser = $wkflog->getUser();
|
||||||
|
echo "<td>".$loguser->getFullName()."</td>";
|
||||||
|
echo "<td>".$wkflog->getComment()."</td>";
|
||||||
|
echo "</tr>";
|
||||||
|
}
|
||||||
|
print "</tbody>\n</table>\n";
|
||||||
|
$this->contentContainerEnd();
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue
Block a user