Patch #21474

Adding issue css classes to subtasks and relations tr

Added by Codruț Gușoi over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI
Target version:3.3.0

Description

In every other part of the application issues have their CSS classes added to the tr element.
This patch adds them to the sub tasks and relations tables for issues#show.
It is useful for custom themes to be able to style them according to their status/tracker or for JavaScript plugins doing funky front end logic with them.

0001-Added-issue-css-classes-to-issue-show-tr.patch Magnifier (1.91 KB) Codruț Gușoi, 2015-12-10 16:34


Related issues

Duplicated by Redmine - Feature #11302: Issue-Details: add additional classes to the list of rela... Closed

Associated revisions

Revision 15061
Added by Jean-Philippe Lang over 2 years ago

Adding issue css classes to issue subtasks and relations tr (#21474).

Patch by Codruț Gușoi.

History

#1 Updated by Go MAEDA over 2 years ago

  • Target version set to 3.3.0

Useful for theme developers. I tried the patch and works fine.
I suggest including this in Redmine 3.3.0.

#2 Updated by Jean-Philippe Lang over 2 years ago

  • Subject changed from Adding issue css classes to issue show subtasks and relations tr to Adding issue css classes to subtasks and relations tr
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Committed, thanks.

#3 Updated by Toshi MARUYAMA over 2 years ago

  • Description updated (diff)

#4 Updated by Marius BALTEANU 3 months ago

  • Duplicated by Feature #11302: Issue-Details: add additional classes to the list of related tickets and subtasks for better theme support added

Also available in: Atom PDF