Project

General

Profile

Display issue estimated hours in gantt chart

Added by Boudewijn van Liempd over 16 years ago

Hi,

I am new to redmine, but so far I like it very much. The only thing I am missing at the moment is a way to manage time.

What I would like to accomplish is to see the sum of estimated hours when looking at the gantt chart. For my case it would be sufficient to see the number of ours on the starting date of the issue, for example in a row below the days (columns with M t W etc.) or at the bottom of the chart.

Does anyone know if this is possible (and if so point me in the right direction?)


Replies (1)

RE: Display issue estimated hours in gantt chart - Added by Boudewijn van Liempd over 16 years ago

I guess the first thing to do is to create a list of all issues starting on a certain date and then total the estimated hours for those issues. Then in app/views/projects/gantt.rhtml add someting like:

<div style="left:<%= left %>px;top:45px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "visibility: hidden;" if wday > 5 %>" class="gantt_hdr">
<small><br /><%= estimated_hours_today %></small>
</div>

under the existing div under "Days headers"

Can someone help me in the right direction of doing this?

    (1-1/1)