mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-12-23 21:42:11 +00:00
show scheduled revisions in timeline
This commit is contained in:
parent
b3c000de45
commit
3502ce5de7
|
|
@ -91,6 +91,9 @@ class SeedDMS_View_Timeline extends SeedDMS_Bootstrap_Style {
|
|||
case 'status_change':
|
||||
$msg = getMLText('timeline_full_'.$item['type'], array('document'=>htmlspecialchars($item['document']->getName()), 'version'=> $item['version'], 'status'=> getOverallStatusText($item['status'])));
|
||||
break;
|
||||
case 'scheduled_revision':
|
||||
$msg = getMLText('timeline_full_'.$item['type'], array('document'=>htmlspecialchars($item['document']->getName()), 'version'=> $item['version'], 'status'=> getOverallStatusText($item['status'])));
|
||||
break;
|
||||
default:
|
||||
$msg = '???';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -160,6 +160,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
case 'status_change':
|
||||
$msg = getMLText('timeline_'.$item['type'], array('document'=>htmlspecialchars($item['document']->getName()), 'version'=> $item['version'], 'status'=> getOverallStatusText($item['status'])));
|
||||
break;
|
||||
case 'scheduled_revision':
|
||||
$msg = getMLText('timeline_'.$item['type'], array('document'=>htmlspecialchars($item['document']->getName()), 'version'=> $item['version'], 'status'=> getOverallStatusText($item['status'])));
|
||||
break;
|
||||
default:
|
||||
$msg = '???';
|
||||
}
|
||||
|
|
@ -1775,6 +1778,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
if($user->isAdmin()) {
|
||||
$timeline = $document->getTimeline();
|
||||
if($timeline) {
|
||||
/*
|
||||
$this->contentHeading(getMLText("timeline"));
|
||||
foreach($timeline as &$item) {
|
||||
switch($item['type']) {
|
||||
|
|
@ -1794,6 +1798,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
$item['msg'] = $msg;
|
||||
}
|
||||
*/
|
||||
// $this->printTimeline('out.ViewDocument.php?action=timelinedata&documentid='.$document->getID(), 300, '', date('Y-m-d'));
|
||||
$this->printTimelineHtml(300);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user