Project

General

Profile

Actions

Patch #21474

closed

Adding issue css classes to subtasks and relations tr

Added by Anonymous over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files


Related issues

Related to Redmine - Defect #23391: Wrong CSS classes in subtasks treeClosedJean-Philippe Lang

Actions
Has duplicate Redmine - Feature #11302: Issue-Details: add additional classes to the list of related tickets and subtasks for better theme supportClosed

Actions
Actions #1

Updated by Go MAEDA over 8 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.

Actions #2

Updated by Jean-Philippe Lang about 8 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.

Actions #3

Updated by Toshi MARUYAMA about 8 years ago

  • Description updated (diff)
Actions #4

Updated by Marius BĂLTEANU about 6 years ago

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

Updated by Jérôme BATAILLE over 5 years ago

Hi,

This patch introduced a duplication of the 'issue' css tag because it is also provided by the css_classes method.
Can it be fixed ?

Thanks a lot.

Actions #6

Updated by Marius BĂLTEANU over 5 years ago

  • Related to Defect #23391: Wrong CSS classes in subtasks tree added
Actions #7

Updated by Marius BĂLTEANU over 5 years ago

Jérôme BATAILLE wrote:

Hi,

This patch introduced a duplication of the 'issue' css tag because it is also provided by the css_classes method.
Can it be fixed ?

Thanks a lot.

It was already fixed in #23391.

Actions

Also available in: Atom PDF