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