Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt-extension-jsgantt
Commits
d07cd301
Commit
d07cd301
authored
Feb 07, 2014
by
sunnavy
Browse files
drop RT 3 support
in the future, we migrate js/css files to RT 4's structure.
parent
fb54f3f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
MANIFEST
View file @
d07cd301
Changes
etc/jsgantt-showsummary.diff
etc/jsgantt.diff
html/Callbacks/JSGantt/Elements/Header/Head
html/Callbacks/JSGantt/Elements/Tabs/Privileged
...
...
README
View file @
d07cd301
...
...
@@ -37,11 +37,8 @@ How to install:
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,
...
...
etc/jsgantt-showsummary.diff
deleted
100644 → 0
View file @
fb54f3f9
diff --git a/share/html/Ticket/Elements/ShowSummary b/share/html/Ticket/Elements/ShowSummary
index 21c53c5..264dcdc 100755
--- a/share/html/Ticket/Elements/ShowSummary
+++ b/share/html/Ticket/Elements/ShowSummary
@@ -107,6 +107,7 @@
% my (@extra);
% push @extra, titleright_raw => '<a href="'. RT->Config->Get('WebPath'). '/Ticket/Graphs/index.html?id='.$Ticket->id.'">'.loc('Graph').'</a>' unless RT->Config->Get('DisableGraphViz');
+% $m->callback( %ARGS, CallbackName => 'LinksExtra', extra => \@extra );
<&| /Widgets/TitleBox, title => loc('Links'),
title_href => RT->Config->Get('WebPath')."/Ticket/ModifyLinks.html?id=".$Ticket->Id,
class => 'ticket-info-links',
html/Search/JSGantt.html
View file @
d07cd301
...
...
@@ -2,13 +2,7 @@
Refresh =
>
$session{'tickets_refresh_interval'}
||
RT-
>
Config->Get('SearchResultsRefreshInterval', $session{'CurrentUser'} ),
&
>
% if ( $m->comp_exists( '/Ticket/Elements/Tabs' ) ) {
<
&
/
Ticket
/
Elements
/
Tabs
,
Title =
>
$title,
Query =
>
$ARGS{Query},
&
>
% } else {
<
&
/
Elements
/
Tabs
&
>
%# this space is to make following elements a bit lower to avoid overlap
%#
% }
<div
style=
"position:relative"
class=
"gantt"
id=
"GanttChartDIV"
></div>
<script>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment