mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-30 21:47:30 +00:00
do not output header of section for reviewers if there is no reviewer
This commit is contained in:
parent
919757bbf3
commit
e24e031b17
|
@ -743,17 +743,17 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
<div class="tab-pane <?php if($currenttab == 'revapp') echo 'active'; ?>" id="revapp">
|
||||
<?php
|
||||
print "<div class=\"row-fluid\">";
|
||||
print "<div class=\"span6\">";
|
||||
// $this->contentContainerStart();
|
||||
print "<legend>".getMLText('reviewers')."</legend>";
|
||||
print "<table class=\"table table-condensed\">\n";
|
||||
|
||||
/* Just check fo an exting reviewStatus, even workflow mode is set
|
||||
* to traditional_only_approval. There may be old documents which
|
||||
* are still in S_DRAFT_REV.
|
||||
*/
|
||||
if (/*$workflowmode != 'traditional_only_approval' &&*/ is_array($reviewStatus) && count($reviewStatus)>0) {
|
||||
|
||||
print "<div class=\"span6\">";
|
||||
// $this->contentContainerStart();
|
||||
print "<legend>".getMLText('reviewers')."</legend>";
|
||||
print "<table class=\"table table-condensed\">\n";
|
||||
|
||||
print "<tr>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("last_update").", ".getMLText("comment")."</th>\n";
|
||||
|
@ -831,11 +831,11 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "</ul></td>\n";
|
||||
print "</tr>\n";
|
||||
}
|
||||
}
|
||||
print "</table>";
|
||||
print "</table>";
|
||||
// $this->contentContainerEnd();
|
||||
|
||||
print "</div>";
|
||||
print "</div>";
|
||||
}
|
||||
print "<div class=\"span6\">";
|
||||
// $this->contentContainerStart();
|
||||
print "<legend>".getMLText('approvers')."</legend>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user