Actions
Defect #13840
closedStyle issues by priority position, not id
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
This probably gets overlooked because people create priorities in the right order the first time, or use themes that leverage position_name, so it always looks right. If you reorder them, themes that style according to classes like priority-n have a bad time. In the IssuePriority model can we change this method definition like so?
def css_classes
"priority-#{position} priority-#{position_name}"
end
I'd submit a patch, but... for bonus points could we maybe move that process to github, where I can easily fork and submit pull requests?
Related issues
Actions