mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-20 16:41:38 +00:00
show logs to owner of document
This commit is contained in:
parent
b5a7f41a8e
commit
547eb06725
|
@ -932,7 +932,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
||||||
if($user->isAdmin()) {
|
if($user->isAdmin() || $user->getId() == $document->getOwner()->getId()) {
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<?php
|
<?php
|
||||||
|
@ -1384,7 +1384,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
if($user->isAdmin()) {
|
if($user->isAdmin() || $user->getId() == $document->getOwner()->getId()) {
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user