mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add link to EditOnline
This commit is contained in:
parent
cbb9317619
commit
1f76c2455a
|
@ -427,6 +427,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
print "</ul>";
|
||||
print "<ul class=\"unstyled actions\">";
|
||||
if($accessop->mayEditVersion()) {
|
||||
print "<li><a href=\"out.EditOnline.php?documentid=".$documentid."&version=".$latestContent->getVersion()."\"><i class=\"icon-edit\"></i>".getMLText("edit_version")."</a></li>";
|
||||
}
|
||||
/* Only admin has the right to remove version in any case or a regular
|
||||
* user if enableVersionDeletion is on
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user