Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Perl JavaScript CSS
tag: 0.04

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
html
inc/Module
lib/RT/Extension
Changes
MANIFEST
MANIFEST.SKIP
META.yml
Makefile.PL
README
jsgantt.diff
showsummary.diff

README

RT-Extension-JSGantt version 0.01

How to install:

1. perl Makefile.PL
2. make
3. make install ( you may need root permission )
4. config items in etc/RT_SiteConfig.pm
    # add RT::Extension::JSGantt to @Plugins: e.g.
        Set(@Plugins,'RT::Extension::JSGantt');
    # customize JSGantt as you wish:
        Set($JSGanttDefaultFormat,'month'); # or day or year or quarter
        Set($JSGanttShowDuration,1);
        Set($JSGanttShowOwner,1);
        Set($JSGanttShowProgress,1);
        Set(@JSGanttColorScheme, 'ff0000', 'ffff00', 'ff00ff', '00ff00', '00ffff', '0000ff');

        # working hours per day, used to caculate day length
        Set($JSGanttWorkingHoursPerDay, 8); 

        # default day length, used to figure out start/end if one exists but the other not
        Set($JSGanttDefaultDays, 7);

        # if we can't find both start and end dates, use this color
        Set($JSGanttNullDatesColor, '333');
5. patch /Ticket/Elements/ShowSummary if you are using rt < 3.9
    $ patch /path/to/Ticket/Elements/ShowSummary < /path/to/showsummary.diff
6. restart RT


How to update jsgantt.js and jsgantt.css:

To make it work better with RT, we changed original jsgantt.js and jsgantt.css,
which can be found in jsgantt.diff.

If you want to update jsgantt.js and jsgantt.css to a new version, please 
review the diff to see what have been changed and maybe do the same change too.

Something went wrong with that request. Please try again.