Defect #9294
closedOverdue tasks are not highlighted
0%
Description
In the "application.css" we have a class "issue-overdue":.version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
but in the "issue.rb" class name is "overdue":s << ' overdue' if overdue?
Related issues
Updated by Mischa The Evil over 13 years ago
Eugene Pisarev wrote:
In the "application.css" we have a class "issue-overdue":
.version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}
This selector is only used on the gantt-chart where projects, versions and issues which are overdue are rendered using the appended overdue-classes (i.e. with red text).
Eugene Pisarev wrote:
but in the "issue.rb" class name is "overdue":
s << ' overdue' if overdue?
This class is indeed used in the issue lists and detail views. Though it is currently not used by the themes bundled with Redmine.
You could use it yourself by adding styles like:
a.issue.overdue, a.issue.overdue:link, a.issue.overdue:visited { color: #f00; }
Reference: #2337
Updated by Mischa The Evil over 13 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Please re-open if needed.
Updated by Eugene Pisarev over 13 years ago
Maybe you should give us a list of the features not used in current themes?
I've spent a couple of hours to find why overdue tasks are not highlited!
Updated by Влад Владыч about 13 years ago
Good day!
Help me please. Is it any solution to highlight overdue issues in calendar?
Updated by Mischa The Evil about 13 years ago
Влад Владыч wrote:
Help me please. Is it any solution to highlight overdue issues in calendar?
Yes, it is possible to add overdue-issue highlighting to the calendar-module only, in a custom theme, by adding the following styles (I'll write them down completely for clarity):
table.cal tbody tr td div.issue.overdue a.issue.overdue,
table.cal tbody tr td div.issue.overdue a.issue.overdue:link,
table.cal tbody tr td div.issue.overdue a.issue.overdue:visited { color: #f00; }
Updated by Влад Владыч about 13 years ago
Thank you !But I have already add
a.issue.overdue { font-weight: bold; color:#e23209 }
and get red color in overdue tasks in calendar.
Can I highlight table cell ?
Updated by Mischa The Evil about 13 years ago
Влад Владыч wrote:
Can I highlight table cell ?
Yes, using CSS you can do that too.
For example:- to create a red table border use the following style:
table.cal tbody tr td div.issue.overdue { border-color: #f00; }
- to create a red background (ugly) use something like:
table.cal tbody tr td div.issue.overdue { background: #f00; }
Updated by qazaswsx huang about 13 years ago
Is it possible to highlight the overdue task in "Issues" column?
It's useful cause people usually only watch "Issues" list in the project.
Updated by Stanislav German-Evtushenko about 10 years ago
Hello,
qazaswsx huang wrote:
Is it possible to highlight the overdue task in "Issues" column?
It's useful cause people usually only watch "Issues" list in the project.
I use the following CSS:
a.overdue { color: #f00; }
tr.overdue td.subject a { color: #f00; }
It works for: Issues, Gantt, Calendar.
Best regards,
Stanislav German-Evtushenko