プロジェクト

全般

プロフィール

Vote #65134

未完了

Roadmap - show Estimated Time and Spent Time

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Roadmap_22
対象バージョン:
-
開始日:
2009/04/27
期日:
進捗率:

0%

予定工数:
category_id:
22
version_id:
0
issue_org_id:
3245
author_id:
4
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
3
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I have edited the versions/show.rhtml page, so that it shows the Estimated Time and the Spent Time for each ticket in the Version. This diff is done on the Trunk.

I would appreciate, if this would be a standard feature.


journals

Markus May wrote:
> I would appreciate, if this would be a standard feature.

I like this feature very much, a +1 for including this one into the main development branch if possible.

--------------------------------------------------------------------------------
I would recommend one minor change. That is, do not display if there is nothing to display.

Often I do not have hours specified, so now I see a lot of ( 0 / 0 ). Instead of that, it would be best to skip it altogether.

something along the lines of having additional if statement, that checks if there is anything to display, or just zeroes:

<pre>...<% if (issue.estimated_hours != nil && issue.estimated_hours > 0) || ( issue.spent_hours > 0 ) %>
(
<% if (issue.estimated_hours != nil && issue.estimated_hours > 0)%>
<%= issue.estimated_hours %>
<% else %>
0
<% end %>
/
<% if issue.spent_hours > 0 %>
<%= issue.spent_hours %>
<% else %>
0
<% end %>)
<%end%></li></pre>

Kind regards

--------------------------------------------------------------------------------
This is a great patch - thanks for the contribution.

Is there anyway to get it to work for the roadmap? When I apply the patch, I see the estimated/actual hours by clicking on a given version link (which shows one link by itself), but not when showing all the versions together on the roadmap page.

jamie

--------------------------------------------------------------------------------
The data for the Amount of time is available on the Roadmap Detail Page anyway, and therefor I put the data only there.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------


related_issues

relates,New,371,Show time tracking in the changelog/roadmap

Admin Redmine さんが約2年前に更新

  • カテゴリRoadmap_22 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0