Add "behind-schedule" CSS class to issues
|Assignee:||Go MAEDA||% Done:|
"behind-schedule" class, which is already available in gantt, indicates that the issue is behind the schedule. This means that the done ratio is lower than expected.
In gantt, "behind-schedule" issues are shown in orange color. I think also issues list and issue detail page should have "behind-schedule" class in order to be able to implement the same coloring as gantt.
It is beneficial for project management to warn before the deadline is over.
- Target version changed from Candidate for next major release to 4.2.0
Bernhard Rohloff wrote:
+1 It's a nice improvement and makes the modules more consistent.
Thank you for checking the patch. Setting the target version to 4.2.0.
Also a good indicator if an issue needs a bit of attention.
I will open a new issue to discuss UI that indicates the issue is behind schedule.
- Status changed from Closed to Reopened
Failure: Redmine::WikiFormatting::MacrosTest#test_issue_macro_should_render_link_to_issue [/REDMINE/WORK-DIR-NO-RAID/hg-workdir/my-work/test/unit/lib/redmine/wiki_formatting/macros_test.rb:414]: --- expected +++ actual @@ -1 +1 @@ -"<p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest\" href=\"/issues/1\">Bug #1</a>: Cannot print recipes</p>" +"<p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest behind-schedule\" href=\"/issues/1\">Bug #1</a>: Cannot print recipes</p>" bin/rails test test/unit/lib/redmine/wiki_formatting/macros_test.rb:412