mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
minor fix in comment to easy merging
This commit is contained in:
parent
97fe703afb
commit
dc20e609c7
|
@ -584,7 +584,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "<td><ul class=\"unstyled\">";
|
||||
|
||||
if($accessop->mayApprove()) {
|
||||
if ($is_approver && $a['status'] == 0 /* $status["status"]==S_DRAFT_APP */) {
|
||||
if ($is_approver && $a['status'] == 0 /*$status["status"]==S_DRAFT_APP*/) {
|
||||
print "<li><a class=\"btn btn-mini\" href=\"../out/out.ApproveDocument.php?documentid=".$documentid."&version=".$latestContent->getVersion()."&approveid=".$a['approveID']."\">".getMLText("add_approval")."</a></li>";
|
||||
}else if (($updateUser==$user)&&(($a["status"]==1)||($a["status"]==-1))&&(!$document->hasExpired())){
|
||||
print "<li><a class=\"btn btn-mini\" href=\"../out/out.ApproveDocument.php?documentid=".$documentid."&version=".$latestContent->getVersion()."&approveid=".$a['approveID']."\">".getMLText("edit")."</a></li>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user