Feature #3034

Add day numbers to gantt

Added by Maxim KruĊĦina over 8 years ago. Updated about 2 years ago.

Status:ClosedStart date:2009-03-23
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Gantt
Target version:3.2.0
Resolution:Fixed

Description

There should be day numbers visible in Gantt. Maybe at highest zoom or add one more zoom level with days displayed.
Day numbers can be small, but it's a must for us, because we're sending reports to our clients.
Thanx!

show.html.erb Magnifier (6.18 KB) Alex A, 2011-05-24 08:59

show.html.erb Magnifier (8.42 KB) Nuno Ribeiro, 2013-03-20 20:35

rmo-3034.diff Magnifier - Diff between posted view of #3034#note-4 and 2.2-stable_r11610 (1.79 KB) Mischa The Evil, 2013-03-20 23:28

show.html.erb_old - original file without day numbers (10.3 KB) John Galt, 2014-02-24 22:25

show.html.erb_new - modified file with day numbers (11 KB) John Galt, 2014-02-24 22:25

3034-11.diff Magnifier - a patch file generated from #3034-11 (1.79 KB) Go MAEDA, 2014-06-19 14:35


Related issues

Related to Redmine - Feature #14596: Change the week days to month days in Gantt view Closed

Associated revisions

Revision 14638
Added by Jean-Philippe Lang about 2 years ago

Adds day numbers to HTML and PDF gantt (#3034).

History

#1 Updated by Mischa The Evil about 7 years ago

  • Category changed from Issues to Gantt

#2 Updated by Etienne Massip over 6 years ago

  • Subject changed from Add day numers to gantt to Add day numbers to gantt

Typo.

#3 Updated by Alex A over 6 years ago

replace file in app/views/gantts/show.html.erb
this is for redmine 1.3, for other versions not tested

#4 Updated by Nuno Ribeiro over 4 years ago

I'm currently using the attached file in version 2.2.3.stable.11610
Haven't tested it in other versions
as said, just replace the file in app/views/gantts/show.html.erb
and restart redmine

#5 Updated by Mischa The Evil over 4 years ago

Nuno Ribeiro wrote:

I'm currently using the attached file in version 2.2.3.stable.11610
[...]
as said, just replace the file in app/views/gantts/show.html.erb [...]

Thanks for posting your solution. Though, in its current form (a complete patched view) it is cumbersome to review the changes you have made. Therefore I have extracted a unified diff out of the patched view you have posted in note-4 compared against source:/branches/2.2-stable/app/views/gantts/show.html.erb@11610, which I post hereby.

FTR: I have not reviewed the diff in substance.

#6 Updated by Jun NAITOH over 4 years ago

+1

#7 Updated by Toshi MARUYAMA over 4 years ago

  • Target version set to Candidate for next major release

#8 Updated by Maxime Vez over 4 years ago

+1

#9 Updated by Go MAEDA about 4 years ago

+1

#10 Updated by Akihiro YAMAKAWA almost 4 years ago

+1

#11 Updated by John Galt over 3 years ago

I also wanted this feature, so I updated the patched show.html.erb file to work with the latest Redmine release I'm using (redmine-2.4.3-0).

I am attaching two files, the one with '_old' suffix is the original that came with Redmine installation, the one with '_new' suffix is the modified one. I am attaching the two files so people can see what the differences are. Simply replace the file in your installation with the '_new' file. Thanks to the original author for coming up with the solution.:

#12 Updated by Evandro Piraciaba over 3 years ago

Thank you! I changed the graphic display, but still need help to change the report in PNG/PDF. You can help me?

#13 Updated by Go MAEDA over 3 years ago

I have generated the patch file from John Galt's work(#3034-11).

It works fine on Redmine 2.5.1 and current trunk(r13181).

#14 Updated by Go MAEDA about 3 years ago

  • Related to Feature #14596: Change the week days to month days in Gantt view added

#16 Updated by Go MAEDA over 2 years ago

  • Target version changed from Candidate for next major release to 3.2.0

This feature have been desired for years by many people. Seems there is no problem to merge into Redmine core.

Could it be included with 3.1 or 3.2?

#17 Updated by Jean-Philippe Lang about 2 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Done in r14638.

#18 Updated by Go MAEDA about 2 years ago

Great! Thanks for implementing pdf export as well as html.

Also available in: Atom PDF