Skip to content

Conversation

Mary-Clb
Copy link

@Mary-Clb Mary-Clb commented Sep 4, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes # (issue number, if applicable)
  • Here is a brief description of what this PR does

Screenshots (if appropriate):

@stonebuzz
Copy link
Contributor

stup.php need to be update too

diff --git a/setup.php b/setup.php
index 9dcbcf9..21bb351 100644
--- a/setup.php
+++ b/setup.php
@@ -61,7 +61,7 @@ function plugin_init_gantt()
     $PLUGIN_HOOKS[Hooks::ADD_JAVASCRIPT]['gantt'][] = 'public/lib/libs.js';
     $PLUGIN_HOOKS[Hooks::ADD_JAVASCRIPT]['gantt'][] = 'js/gantt-helper.js';
 
-    $PLUGIN_HOOKS[Hooks::ADD_CSS]['gantt'][] = 'css/gantt.scss';
+    $PLUGIN_HOOKS[Hooks::ADD_CSS]['gantt'][] = Plugin::getWebDir('gantt').'css/gantt.scss';
 
     $PLUGIN_HOOKS[Hooks::REDEFINE_MENUS]['gantt'] = [
         'GlpiPlugin\Gantt\ProjectTab',
(END)

@stonebuzz
Copy link
Contributor

I’m closing this PR as it was not heading in the right direction, and feedback on the client’s infrastructure was required.

@stonebuzz stonebuzz closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants