From d3ba87b09aaa945451759a843fa0d519af065b33 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 15 Dec 2020 02:32:56 +0100 Subject: [PATCH] Better gantt --- htdocs/core/boxes/box_funnel_of_prospection.php | 2 ++ htdocs/theme/eldy/global.inc.php | 3 +++ htdocs/theme/md/style.css.php | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/core/boxes/box_funnel_of_prospection.php b/htdocs/core/boxes/box_funnel_of_prospection.php index a50426e1b29..6ffce6d781b 100644 --- a/htdocs/core/boxes/box_funnel_of_prospection.php +++ b/htdocs/core/boxes/box_funnel_of_prospection.php @@ -61,6 +61,8 @@ class box_funnel_of_prospection extends ModeleBoxes $this->db = $db; + $this->enabled = ($conf->global->MAIN_FEATURES_LEVEL >= 1); // Not enabled by default, still need some work + $this->hidden = !($user->rights->projet->lire); } diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 1b104ce95dd..40440f4fc41 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -5105,6 +5105,9 @@ td.gminorheading { max-width: 40px !important; width: 40px !important; } +td.gtaskheading.gstartdate, td.gtaskheading.genddate { + white-space: break-spaces; +} /* ============================================================================== */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index ad0b03366db..003416a5baf 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -4997,7 +4997,9 @@ td.gminorheading { max-width: 40px !important; width: 40px !important; } - +td.gtaskheading.gstartdate, td.gtaskheading.genddate { + white-space: break-spaces; +} /* ============================================================================== */