mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
adjust colors and title of event
This commit is contained in:
parent
58de462ff5
commit
fe03d58100
|
@ -195,10 +195,13 @@ class SeedDMS_View_Calendar extends SeedDMS_Theme_Style {
|
|||
$color = '#20a820';
|
||||
break;
|
||||
case 'add_file':
|
||||
$color = '#a82020';
|
||||
$color = '#c3bf00';
|
||||
break;
|
||||
case 'status_change':
|
||||
$color = '#a8a8a8';
|
||||
if($item['status'] == S_RELEASED)
|
||||
$color = '#129a02';
|
||||
else
|
||||
$color = '#a8a8a8';
|
||||
break;
|
||||
default:
|
||||
$color = '#20a8a8';
|
||||
|
@ -206,7 +209,7 @@ class SeedDMS_View_Calendar extends SeedDMS_Theme_Style {
|
|||
if ($item['document']->getAccessMode($user) >= M_READ)
|
||||
$arr[] = array(
|
||||
'start'=>$item['date'],
|
||||
'title'=>$item['document']->getName()."\n".$item['msg'],
|
||||
'title'=>$item['document']->getName()." (".$item['version'].")\n".getOverallStatusText($item['status']), //$item['msg'],
|
||||
'allDay'=>false,
|
||||
'color'=>$color,
|
||||
'type'=>$item['type'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user