Feature #8152

Render Version and User custom fields as links

Added by Etienne Massip over 11 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2011-04-14
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Category:Custom fields
Target version:2.5.0


That would be nice if custom fields which type is one of the recently introduced Version and User are rendered not as raw text but as links to the specified version page or user profile page, just as anywhere else in the application.

issues_helper.rb.patch Magnifier (966 Bytes) Alexei Kornienko, 2012-01-07 16:07

Related issues

Related to Redmine - Feature #2096: Custom fields referencing system tables (users and versio... Closed 2008-10-27
Duplicated by Redmine - Feature #8492: Custom Field of Version type should be shown as link in s... Closed 2011-06-01


#1 Updated by Etienne Massip over 11 years ago

  • Assignee set to Jean-Philippe Lang

As suggested in #2096 =)

#2 Updated by Etienne Massip over 11 years ago

There is a patch attached to #8492.

#3 Updated by Alexei Kornienko over 10 years ago

Hi, Please find patch attached.

#4 Updated by Jean-Philippe Lang almost 9 years ago

  • Target version changed from Candidate for next major release to 2.5.0

#5 Updated by Dipan Mehta almost 9 years ago

+1. This is really essential feature. However, the same should be applied not only for issue page, but also on version's page and project page - as we have user_type fields for projects (incharge, etc.) and version (testing etc.).

I had tried working out a patch where format_value() function itself returns the link thereby one doesn't have to repeat the conditionals on each such entity (issue/version/page). Unfortunately, it didn't quite work because of h() function being used before display.

Anyway, I hope this should be available at least for version and project page as well.

#6 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Done in 2.5.0, not just for issues.

Also available in: Atom PDF