Agenda events are cleaner
This commit is contained in:
parent
b870f584a4
commit
4854d1203d
@ -936,10 +936,10 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Show title
|
// Show title
|
||||||
if ($event->type_code == 'ICALEVENT') print $event->libelle;
|
if ($event->type_code == 'ICALEVENT') print dol_trunc($event->libelle,$maxnbofchar);
|
||||||
else print $event->getNomUrl(0,$maxnbofchar,'cal_event');
|
else print $event->getNomUrl(0,$maxnbofchar,'cal_event');
|
||||||
|
|
||||||
if ($event->type_code == 'ICALEVENT') print '<br>('.$event->icalname.')';
|
if ($event->type_code == 'ICALEVENT') print '<br>('.dol_trunc($event->icalname,$maxnbofchar).')';
|
||||||
|
|
||||||
// If action related to company / contact
|
// If action related to company / contact
|
||||||
$linerelatedto='';$length=16;
|
$linerelatedto='';$length=16;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user