mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
status of previous version can be overwritten
This commit is contained in:
parent
b77609d375
commit
bf4fe82cd5
|
@ -820,7 +820,7 @@ $(document).ready( function() {
|
||||||
if($accessobject->mayRemoveVersion()) {
|
if($accessobject->mayRemoveVersion()) {
|
||||||
$items[] = array('link'=>$this->html_url('RemoveVersion', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'remove', 'label'=>'rm_version');
|
$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');
|
$items[] = array('link'=>$this->html_url('OverrideContentStatus', array('documentid'=>$latestContent->getDocument()->getId(),'version'=>$latestContent->getVersion())), 'icon'=>'align-justify', 'label'=>'change_status');
|
||||||
}
|
}
|
||||||
if($islatest) {
|
if($islatest) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user