mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
show review/approval protocol
This commit is contained in:
parent
88df1cee82
commit
fd55efb3b9
|
@ -299,6 +299,34 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
print "</table>\n";
|
||||
|
||||
$this->contentContainerEnd();
|
||||
|
||||
if($user->isAdmin()) {
|
||||
?>
|
||||
<div class="row-fluid">
|
||||
<?php
|
||||
/* Check for an existing review log, even if the workflowmode
|
||||
* is set to traditional_only_approval. There may be old documents
|
||||
* that still have a review log if the workflow mode has been
|
||||
* changed afterwards.
|
||||
*/
|
||||
if($version->getReviewStatus(10)) {
|
||||
?>
|
||||
<div class="span6">
|
||||
<?php $this->printProtocol($version, 'review'); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
if($version->getApprovalStatus(10)) {
|
||||
?>
|
||||
<div class="span6">
|
||||
<?php $this->printProtocol($version, 'approval'); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
$this->htmlEndPage();
|
||||
} /* }}} */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user