Project

General

Profile

Actions

Feature #7391

closed

Html link as custom field

Feature #7391: Html link as custom field

Added by Pierre Pretorius almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Resolution:
Duplicate

Description

Currently when you add a custom field you can choose from things like text, boolean, date, etc. I want to add text, but it should display as a link. You will know best how to implement this. Perhaps a check box "display as link" or "do not escape html" but I guess that is risky, perhaps its a different type of custom field.

Thanks,


Related issues 1 (0 open — 1 closed)

Is duplicate of Redmine - Feature #5794: URL custom fieldsClosedActions

Updated by Pierre Pretorius almost 16 years ago Actions #1

  • Assignee set to Jean-Philippe Lang

Updated by Kestutis None almost 16 years ago Actions #2

Test

Updated by Kestutis None almost 16 years ago Actions #3

  • Assignee changed from Jean-Philippe Lang to Holger Just

Kestutis Naureckas wrote:

Test

None

Updated by Holger Just almost 16 years ago Actions #4

  • Assignee deleted (Holger Just)

(reverted spam)

Updated by Daniel Martinez almost 16 years ago Actions #5

This can easily be done in about 1 minute.
simply wrap the line that renders the custom_value in the auto_link() function like this:

auto_link(simple_format_without_paragraph(h(show_value(value))))

and you instantly have clickable links

Updated by Etienne Massip almost 16 years ago Actions #6

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

Closed as duplicate of #5794

Actions

Also available in: PDF Atom