mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
35594e23f9
|
@ -108,6 +108,7 @@
|
|||
- new calendar
|
||||
- move folder/document properly checks for access right if done by drag and
|
||||
drop (Closes #309)
|
||||
- show workflow log on document details page
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.32
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -473,6 +473,25 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
print "</tbody>\n</table>\n";
|
||||
$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">
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue
Block a user