Vote #75376
完了Display a target version's date if available in issue forms, as a tooltip
0%
説明
In our company, we feel that the target version field is very useful for planning our activity.
However, when displaying an issue, it only shows the version name, and the info on the planned release date (or effective for released versions) is not easy to find in the Redmine site.
A solution could be to add the date as a tooltip over the target version name.
Attached is a patch to do so. Feel free to include it in Redmine's code, at the suggested location, or even at a lower level (projects_helper.rb ?), or in all places where link_to_version is called...
This patch affects only the Issue page view.
journals
Sorry, it's better to format the date before displaying it. v2 patch attached.
--------------------------------------------------------------------------------
I tryed the patch on trunk and works fine.
!patch-applied.png!
Although it is useful, target versions are also displayed elsewhere(for example, issues/index). User interfaces should keep the consistency.
--------------------------------------------------------------------------------
OK, so just for fun:
Added version date tooltip in Roadmap (app/views/versions/index.html.erb), in Gantt
(lib/redmine/helpers/gantt.rb) and in issue lists (app/helpers/aplication_helper.rb)
I did not do it for the calendar... it makes little sense to add the date there.
Note that I have a doubt on the change for getting the tooltip in issue lists, as this affects very generic code used in places that I don't master fully.
The v3 patch attached includes previous changes.
--------------------------------------------------------------------------------
Well I think this would be cool and the change isn't really big. :-)
--------------------------------------------------------------------------------
Change done in #link_to_version to have the same behaviour in different places.
--------------------------------------------------------------------------------
Thank Olivier Houdas and JPL.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,19350,Add version date in issue detail and Gantt