mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +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()) {
|
||||
$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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user