Patch #21944 ยป diff.patch
| lib/redmine/field_format.rb | ||
|---|---|---|
|
self.form_partial = 'custom_fields/formats/link'
|
||
|
def formatted_value(view, custom_field, value, customized=nil, html=false)
|
||
|
if html
|
||
|
if html && value.present?
|
||
|
if custom_field.url_pattern.present?
|
||
|
url = url_from_pattern(custom_field, value, customized)
|
||
|
else
|
||