forked from bestpractical/rt-extension-jsgantt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
52 lines (37 loc) · 1.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
RT-Extension-JSGantt version 0.18
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(
%JSGanttOptions,
DefaultFormat => 'day', # or week or month or quarter
ShowOwner => 1,
ShowProgress => 1,
ShowDuration => 1,
# define your own color scheme:
# ColorScheme => ['ff0000', 'ffff00', 'ff00ff', '00ff00', '00ffff', '0000ff'],
# we color owners consistently by default, you can disable it via:
# ColorSchemeByOwner => 0,
# you can specify colors to use, unspecified owners will be
# assigned to some color automatically:
# ColorSchemeByOwner => { root => 'ff0000', foo => '00ff00' },
# if can't find both start and end dates, use this color
NullDatesColor => 333,
# to caculate day length
WorkingHoursPerDay => 8,
# used to set start/end if one exists but the other does not
DefaultDays => 7,
);
5. patch /Ticket/Elements/ShowSummary if you are using rt < 3.9
$ patch /path/to/Ticket/Elements/ShowSummary < /path/to/rt/local/plugins/RT-Extension-JSGantt/etc/jsgantt-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.