Jean-Philippe Lang
1f55907f83
Display non working days on gantt according to settings ( #2161 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-29 10:21:00 +00:00
Toshi MARUYAMA
ffcf1925e3
gantt: code layout cleanup html days headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10326 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 03:21:55 +00:00
Toshi MARUYAMA
ad4ee1c8d8
gantt: code layout cleanup html weeks headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 03:21:17 +00:00
Toshi MARUYAMA
d4fc347a8a
gantt: use content_tag instead of html tag at days headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 02:47:27 +00:00
Toshi MARUYAMA
c25d175623
gantt: use content_tag instead of html tag at gantt header outline
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 02:00:32 +00:00
Toshi MARUYAMA
47e375b271
gantt: code layout cleanup ruby code at head of show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 02:00:17 +00:00
Toshi MARUYAMA
eeedd287ad
gantt: code layout cleanup html months headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 00:59:42 +00:00
Toshi MARUYAMA
2edb8d597a
gantt: use content_tag instead of html tag at gantt subject
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 00:59:08 +00:00
Toshi MARUYAMA
23eae0bf3c
gantt: code cleanup html today red line
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 00:58:41 +00:00
Toshi MARUYAMA
822a627c44
gantt: fix code indents of html today red line
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 00:57:57 +00:00
Toshi MARUYAMA
3431b860ad
gantt: use content_tag instead of html tag at gantt today red line
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 23:03:40 +00:00
Toshi MARUYAMA
3483938185
gantt: use content_tag instead of html tag at gantt weeks headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 23:03:16 +00:00
Toshi MARUYAMA
2af4bb6a86
gantt: use content_tag instead of html tag at gantt months headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 14:35:33 +00:00
Toshi MARUYAMA
b9586dd570
gantt: code layout cleanup html gantt days headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 14:35:20 +00:00
Toshi MARUYAMA
40df75243b
code layout cleanup app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 11:59:48 +00:00
Toshi MARUYAMA
0486ce9976
code layout cleanup gantt weeks headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 11:59:34 +00:00
Toshi MARUYAMA
621b15c923
code layout cleanup gantt months headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 11:59:19 +00:00
Toshi MARUYAMA
d1eb07dd8b
fix code indent of gantt days headers
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 11:59:05 +00:00
Toshi MARUYAMA
9c5f339efb
code layout cleanup app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 01:36:16 +00:00
Jean-Philippe Lang
3119d1996c
Use abbr_day_name to get the first letter of the day name ( #9839 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 18:13:10 +00:00
Jean-Philippe Lang
afc8239bf7
Fixed apply link on gantt.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 15:06:53 +00:00
Toshi MARUYAMA
d41d493128
code layout cleanup app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 11:00:59 +00:00
Jean-Philippe Lang
5e57a1a9d9
Merged rails-3.2 branch.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Toshi MARUYAMA
e2bb8721d9
Replace tables that were using the 'width' attribute with inline styles (should be replaced with an ID/class).
...
Contributed by Andrew Smith.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-24 00:03:05 +00:00
Etienne Massip
8612fa2fc1
Fixed Gantt months/weeks/days headers display with Ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 15:10:32 +00:00
Toshi MARUYAMA
fd32f7446d
code layout clean up app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 03:54:45 +00:00
Toshi MARUYAMA
4d787ce228
Rails3: view: use html_safe for Gantt
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:12:21 +00:00
Toshi MARUYAMA
42249c8260
replace tabs to spaces at app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 10:18:17 +00:00
Toshi MARUYAMA
0192a5b8a9
remove trailing white-spaces from app/views/gantts/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 08:42:47 +00:00
Toshi MARUYAMA
336eb04b6d
replace « and » at app/views/gantts/show.html.erb to hexadecimal UTF-8 strings ( #4796 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 13:40:33 +00:00
Toshi MARUYAMA
1a02a73f8f
HTML escape at app/views/gantts/show.html.erb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:02:23 +00:00
Jean-Philippe Lang
0f0fbeb26d
Makes all pagination-like links use #link_to_content_update ( #5138 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:01:32 +00:00
Jean-Philippe Lang
a80b909cc8
Converted issue filters to non-AJAX GET requests ( #1965 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:34:44 +00:00
Jean-Philippe Lang
2f7084f7a2
Prevent text wrap in gantt subjects ( #7280 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 15:06:11 +00:00
Jean-Philippe Lang
4abdc0f225
Makes filters behaviour consistent with the issue list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 14:02:22 +00:00
Jean-Philippe Lang
40f2d5a995
Makes title/filters consistent with the issue list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 13:58:08 +00:00
Jean-Philippe Lang
48d3ab5f44
Reverted r4780 that broke gantt tests ( #7280 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-30 09:09:50 +00:00
Jean-Philippe Lang
3c8df553ae
Removed issue subjects wrapping in gantt ( #7280 ).
...
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-30 06:54:00 +00:00
Jean-Philippe Lang
620c1e2789
Adds a css class for gantt subjects.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-17 15:25:07 +00:00
Jean-Philippe Lang
b48291ec63
Adds an application setting to limit the number of items that can be displayed on the gantt chart ( #6276 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-15 21:18:06 +00:00
Jean-Philippe Lang
4715a37937
Gantt: Avoid unnecessary queries before rendering.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-07 19:29:47 +00:00
Jean-Philippe Lang
b17e145d75
Gantt: view cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-07 18:41:50 +00:00
Jean-Philippe Lang
b0a1a04008
Gantt: iterate over all objects only once for html and pdf rendering ( #6348 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-07 18:40:34 +00:00
Jean-Philippe Lang
a29c35e08f
Makes zoom buttons on gantt looks like the others.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-23 09:08:55 +00:00
Jean-Philippe Lang
53b131ba2a
Fixes broken filter clearing links on gantt and calendar ( #6473 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-26 07:51:10 +00:00
Eric Davis
5e1c295230
Fixed the zoom, previous, and next links on the Gantt chart.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 03:09:18 +00:00
Eric Davis
bdb3937e0f
Rewrite the Gantt chart. #6276
...
This version of the Gantt chart supports nested charts. So Projects,
Versions, and Issues will be nested underneath their parents correctly.
Additional features:
* Move all Gantt code to Redmine::Helpers::Gantt class instead of having it in
the Gantt class, controller, and view
* Recursive and nest sub-projects
* Recursive and nest versions
* Recursive and nest issues
* Draw a line showing when a Project is active and it's progress
* Draw a line showing when a Version is active and it's progress
* Show a version's % complete
* Change the color of Projects, Versions, and Issues if they are late or
behind schedule
* Added Project#start_date and #due_date
* Added Project#completed_percent
* Use a mini-gravatar on the Gantt chart
* Added tests for the Gantt rendering
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 03:09:02 +00:00
Eric Davis
56e984b5e7
Refactor: convert many of the custom Issue routes to REST resources.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-26 16:36:59 +00:00
Eric Davis
ab4bdc379e
Refactor: extract gantt zoom links to a helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-26 22:48:17 +00:00
Eric Davis
e65c3cfc7d
Refactor: Move gantts to a separate controller.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-28 15:54:46 +00:00