Defect #9294
closed
Overdue tasks are not highlighted
Added by Eugene Pisarev about 13 years ago.
Updated almost 10 years ago.
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?
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
- Status changed from New to Closed
- Resolution set to Invalid
Please re-open if needed.
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!
Good day!
Help me please. Is it any solution to highlight overdue issues in calendar?
Влад Владыч 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; }
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 ?
Влад Владыч 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; }
Is it possible to highlight the overdue task in "Issues" column?
It's useful cause people usually only watch "Issues" list in the project.
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
Also available in: Atom
PDF