Project

General

Profile

Actions

Defect #2071

closed

Reordering priority-enumerations breaks alternate-theme's issue-colouring

Added by Mischa The Evil over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Low
Category:
UI
Target version:
Start date:
2008-10-22
Due date:
% Done:

80%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The issue-colouring by priority which is done by the CSS of the alternate theme breaks if the order of the enumerations is changed.

This is caused by the fact that the theme uses the class-selector on the priority's position which is generated by Redmine. So let's say the priority low (which should be coloured blue by the theme's CSS) is reordered to position 5, than the CSS-styles "think" it is the highest configured priority and colours it deep red.

Credits goes to AlexC for bringing-up this issue through IRC...

I personally think this is a limitation which can't be fixed easily since we are trying to "link" dynamic priorities to static CSS-styles. Possibly this is the reason why this colouring is only done in the alternate-theme.


Files


Related issues

Related to Redmine - Defect #6939: Low and Normal priority displaying with same priority class Closed2010-11-18

Actions
Related to Redmine - Defect #11880: Alternate theme colors by issue priority in issue list is wrongClosed

Actions
Related to Redmine - Feature #12216: Textual CSS class for prioritiesClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF