status of previous version can be overwritten

This commit is contained in:
Uwe Steinmann 2024-05-02 14:24:09 +02:00
parent b77609d375
commit bf4fe82cd5

View File

@ -820,7 +820,7 @@ $(document).ready( function() {
if($accessobject->mayRemoveVersion()) {
$items[] = array('link'=>$this->html_url('RemoveVersion', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'remove', 'label'=>'rm_version');
}
if($islatest && $accessobject->mayOverwriteStatus()) {
if($accessobject->mayOverwriteStatus()) {
$items[] = array('link'=>$this->html_url('OverrideContentStatus', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'align-justify', 'label'=>'change_status');
}
if($islatest) {