Patch #37532

Add CSS class for relation type to related issues list

Added by salman mp 16 days ago. Updated 12 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Issues
Target version:5.1.0

Description

There is a function css_classes_for in IssueRelation but only used when displaying relation column in query results.
It's useful to add classes in relations list in issue details.

add_css_class_to_relations_items.patch Magnifier (782 Bytes) salman mp, 2022-07-31 11:14

test_render_issue_relations.patch Magnifier (1.45 KB) Mizuki ISHIKAWA, 2022-08-02 04:22

add_css_class_to_relations_items-v2.patch Magnifier (555 Bytes) Go MAEDA, 2022-08-02 10:22

Associated revisions

Revision 21757
Added by Go MAEDA 12 days ago

Add CSS class for relation type to related issues list (#37532).

Patch by salman mp and Mizuki ISHIKAWA.

Revision 21758
Added by Go MAEDA 12 days ago

Fix RuboCop offense Layout/LineLength due to r21757 (#37532).

History

#1 Updated by Mizuki ISHIKAWA 15 days ago

+1
I have attached a file to add the test code.

#2 Updated by Go MAEDA 15 days ago

  • Target version set to Candidate for next major release

#3 Updated by Go MAEDA 14 days ago

  • File add_css_class_to_relations_items-v2.patchMagnifier added
  • Subject changed from Add suitable css clases to relations list itmes to Add CSS class for relation type to related issues list
  • Target version changed from Candidate for next major release to 5.1.0

Slightly changed salman mp's patch.

Setting the target version to 5.1.0.

#4 Updated by Go MAEDA 12 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch. Thank you.

Also available in: Atom PDF