Project

General

Profile

Actions

Defect #9294

closed

Overdue tasks are not highlighted

Added by Eugene Pisarev over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Themes
Target version:
-
Start date:
2011-09-21
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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

Related to Redmine - Feature #2337: Highlight overdue TicketsClosed2008-12-14

Actions
Actions #1

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

Actions #2

Updated by Mischa The Evil over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Please re-open if needed.

Actions #3

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!

Actions #4

Updated by Влад Владыч about 13 years ago

Good day!
Help me please. Is it any solution to highlight overdue issues in calendar?

Actions #5

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; }

Actions #6

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 ?

Actions #7

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:
  1. to create a red table border use the following style:
    table.cal tbody tr td div.issue.overdue { border-color: #f00; }
  2. to create a red background (ugly) use something like:
    table.cal tbody tr td div.issue.overdue { background: #f00; }
Actions #8

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.

Actions #9

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

Actions

Also available in: Atom PDF