Feature #7391
Html link as custom field
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | UI | |||
| Target version: | - | Estimated time: | 3.00 hours | |
| 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
History
#1 Updated by Pierre Pretorius over 1 year ago
- Assignee set to Jean-Philippe Lang
#2 Updated by Kestutis None over 1 year ago
Test
#3 Updated by Kestutis None over 1 year ago
- Assignee changed from Jean-Philippe Lang to Holger Just
Kestutis Naureckas wrote:
Test
None
#5 Updated by Daniel Martinez over 1 year ago
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
#6 Updated by Etienne Massip over 1 year ago
- Status changed from New to Closed
- Resolution set to Duplicate
Closed as duplicate of #5794