mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-16 18:19:37 +00:00
do not show users removed from process unless admin
This commit is contained in:
parent
6f4577d7b2
commit
a42c42f335
|
@ -816,6 +816,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><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
||||||
|
@ -849,6 +850,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (is_array($approvalStatus) && count($approvalStatus)>0) {
|
if (is_array($approvalStatus) && count($approvalStatus)>0) {
|
||||||
|
|
||||||
|
@ -903,6 +905,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><ul class=\"unstyled\"><li>".$a["date"]."</li>";
|
print "<td><ul class=\"unstyled\"><li>".$a["date"]."</li>";
|
||||||
|
@ -937,6 +940,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();
|
||||||
|
@ -1367,6 +1371,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><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
print "<td><ul class=\"unstyled\"><li>".$r["date"]."</li>";
|
||||||
|
@ -1389,6 +1394,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
print "</ul></td>\n";
|
print "</ul></td>\n";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue
Block a user