mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 04:53:18 +01:00
Do not show event description if there's no fix time-grid
- Fix event with long description occupies too much space of a column
This commit is contained in:
parent
4e3732f526
commit
4b96ba9016
@ -1798,7 +1798,7 @@ class calendar_uiviews extends calendar_ui
|
||||
*/
|
||||
// Add event description to cal event view body if the event is long enough (ATM 3 times longer than interval)
|
||||
// to be able to show some lines of description text
|
||||
if ($event['whole_day'] || ($event['end'] - $event['start']) > ($this->cal_prefs['interval'] * 3 * 60))
|
||||
if ($event['whole_day'] || ($event['end'] - $event['start']) > ($this->cal_prefs['interval'] * 3 * 60) && $this->use_time_grid)
|
||||
{
|
||||
$tpl->set_var('bodydescription', !$is_private ? nl2br(html::htmlspecialchars($event['description'])) : '');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user