Patch #5554

Make links to various redmine objects more consistent

Added by Holger Just over 11 years ago. Updated over 11 years ago.

Status:NewStart date:2010-05-19
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Code cleanup/refactoring
Target version:-

Description

Currently, there are at least two places where links to the different objects are generated:
  • the link_to_OBJECT methods in application_helper.rb
  • the huge case statement in parse_redmine_links in application_helper.rb

Both of these places use independent code. This code should be merged into a consistent view. Today, both link types differ at least in its class attributes which makes themeing harder.

The attached patch fixes this for the link_to_attachment and the link_to_revision methods.

more_consistent_links.diff Magnifier (3.32 KB) Holger Just, 2010-05-19 14:56

History

Also available in: Atom PDF