##// END OF EJS Templates
Omit blank fields as we do for the description (#21705)....
Jean-Philippe Lang -
r15875:37301d75b3fe
parent child
Show More
@@ -258,11 +258,13 module IssuesHelper
258
258
259 s = ''.html_safe
259 s = ''.html_safe
260 values.each_with_index do |value, i|
260 values.each_with_index do |value, i|
261 attr_value = show_value(value)
262 next if attr_value.blank?
263
261 if value.custom_field.text_formatting == 'full'
264 if value.custom_field.text_formatting == 'full'
262 attr_value = content_tag('div', show_value(value), class: 'wiki')
265 attr_value = content_tag('div', attr_value, class: 'wiki')
263 else
264 attr_value = show_value(value)
265 end
266 end
267
266 content =
268 content =
267 content_tag('hr') +
269 content_tag('hr') +
268 content_tag('p', content_tag('strong', custom_field_name_tag(value.custom_field) )) +
270 content_tag('p', content_tag('strong', custom_field_name_tag(value.custom_field) )) +
General Comments 0
You need to be logged in to leave comments. Login now