mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 11:02:41 +00:00
do not show removed approvers/reviewers unless admin
This commit is contained in:
parent
76c02d89c7
commit
0f9ac271ce
|
@ -837,6 +837,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if($user->isAdmin() || $r["status"] > -2) {
|
||||||
print "<tr>\n";
|
print "<tr>\n";
|
||||||
print "<td>".$reqName."</td>\n";
|
print "<td>".$reqName."</td>\n";
|
||||||
print "<td><i style=\"font-size: 80%;\">".$r["date"]." - ";
|
print "<td><i style=\"font-size: 80%;\">".$r["date"]." - ";
|
||||||
|
@ -870,6 +871,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
print "</ul></td>\n";
|
print "</ul></td>\n";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
print "</table>";
|
print "</table>";
|
||||||
// $this->contentContainerEnd();
|
// $this->contentContainerEnd();
|
||||||
|
|
||||||
|
@ -937,6 +939,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if($user->isAdmin() || $a["status"] > -2) {
|
||||||
print "<tr>\n";
|
print "<tr>\n";
|
||||||
print "<td>".$reqName."</td>\n";
|
print "<td>".$reqName."</td>\n";
|
||||||
print "<td><i style=\"font-size: 80%;\">".$a["date"]." - ";
|
print "<td><i style=\"font-size: 80%;\">".$a["date"]." - ";
|
||||||
|
@ -972,6 +975,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
// $this->contentContainerEnd();
|
// $this->contentContainerEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user