Project

General

Profile

Actions

Defect #9294

closed

Overdue tasks are not highlighted

Defect #9294: Overdue tasks are not highlighted

Added by Eugene Pisarev about 15 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Themes
Target version:
-
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 1 (0 open — 1 closed)

Related to Redmine - Feature #2337: Highlight overdue TicketsClosedActions

Updated by Mischa The Evil about 15 years ago Actions #1

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 about 15 years ago Actions #2

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

Please re-open if needed.

Updated by Eugene Pisarev about 15 years ago Actions #3

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 15 years ago Actions #4

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

Updated by Mischa The Evil about 15 years ago Actions #5

Влад Владыч 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 15 years ago Actions #6

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 15 years ago Actions #7

Влад Владыч 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; }

Updated by qazaswsx huang almost 15 years ago Actions #8

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 almost 12 years ago Actions #9

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: PDF Atom