Patch #5554
Make links to various redmine objects more consistent
Status: | New | Start date: | 2010-05-19 | |
---|---|---|---|---|
Priority: | Normal | Due 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 inapplication_helper.rb
- the huge case statement in
parse_redmine_links
inapplication_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.
History
#1
Updated by Holger Just about 12 years ago
- File more_consistent_links.diff
added