add link to EditOnline

This commit is contained in:
Uwe Steinmann 2016-03-09 07:58:52 +01:00
parent cbb9317619
commit 1f76c2455a

View File

@ -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
*/