Project

General

Profile

Actions

Defect #11869

closed

Issue.css_classes set wrong priority number

Added by Yasuhiro Hara over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Normal issues are displayed like Urgent issues on Redmine v2.1.0 Issues page.
I think the v2.0 source is correct.

Issue.rb (version 2.1)

  def css_classes
    s = "issue status-#{status_id} priority-#{priority_id}" 
    .
    .
    .
  end

Issue.rb (version 2.0)

  def css_classes
    s = "issue status-#{status.position} priority-#{priority.position}" 
    .
    .
    .
  end

--

My Redmine is running on Ubuntu 12.04 x64, and I'm using a theme Highrise

Environment:
  Redmine version                          2.1.0.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  redmine_logs                             0.0.4

Related issues

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

Actions
Actions #1

Updated by Etienne Massip over 11 years ago

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

This has been changed with 2.1.0 because of #11304; you should report it to the theme author.

Actions #2

Updated by Yasuhiro Hara over 11 years ago

Sorry, I had overlooked. Thank you for correction.

Actions

Also available in: Atom PDF