mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
show logs to owner of document
This commit is contained in:
parent
b0dfeca98b
commit
b5a7f41a8e
|
@ -270,6 +270,8 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
echo "</td>";
|
||||
print "</tr></tbody>\n</table>\n";
|
||||
|
||||
$this->contentContainerEnd();
|
||||
$this->contentContainerStart();
|
||||
|
||||
print "<table class=\"table-condensed\">\n";
|
||||
|
||||
|
@ -456,7 +458,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentContainerEnd();
|
||||
}
|
||||
|
||||
if($user->isAdmin()) {
|
||||
if($user->isAdmin() || $user->getId() == $document->getOwner()->getId()) {
|
||||
$this->contentHeading(getMLText("status"));
|
||||
$this->contentContainerStart();
|
||||
$statuslog = $version->getStatusLog();
|
||||
|
|
Loading…
Reference in New Issue
Block a user