Project

General

Profile

Actions

Patch #5554

open

Make links to various redmine objects more consistent

Added by Holger Just almost 14 years ago. Updated almost 14 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
2010-05-19
Due date:
% Done:

0%

Estimated time:

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.


Files

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

Also available in: Atom PDF