Index: app/helpers/custom_fields_helper.rb =================================================================== --- app/helpers/custom_fields_helper.rb (revision 14045) +++ app/helpers/custom_fields_helper.rb (working copy) @@ -77,11 +77,16 @@ :class => "#{custom_value.custom_field.field_format}_cf" end + # Return custom field name tag + def custom_field_name_tag(custom_field) + title = custom_field.description.presence + content = content_tag 'span', custom_field.name, :title => title + end + # Return custom field label tag def custom_field_label_tag(name, custom_value, options={}) required = options[:required] || custom_value.custom_field.is_required? - title = custom_value.custom_field.description.presence - content = content_tag 'span', custom_value.custom_field.name, :title => title + content = custom_field_name_tag custom_value.custom_field content_tag "label", content + (required ? " *".html_safe : ""), Index: app/helpers/issues_helper.rb =================================================================== --- app/helpers/issues_helper.rb (revision 14045) +++ app/helpers/issues_helper.rb (working copy) @@ -192,7 +192,7 @@ ordered_values.compact.each do |value| css = "cf_#{value.custom_field.id}" s << "\n\n" if n > 0 && (n % 2) == 0 - s << "\t#{ h(value.custom_field.name) }:#{ h(show_value(value)) }\n" + s << "\t#{ custom_field_name_tag(value.custom_field) }:#{ h(show_value(value)) }\n" n += 1 end s << "\n" Index: app/views/projects/_form.html.erb =================================================================== --- app/views/projects/_form.html.erb (revision 14045) +++ app/views/projects/_form.html.erb (working copy) @@ -60,7 +60,7 @@ <%= check_box_tag 'project[issue_custom_field_ids][]', custom_field.id, (@project.all_issue_custom_fields.include? custom_field), :disabled => (custom_field.is_for_all? ? "disabled" : nil), :id => nil %> - <%= custom_field.name %> + <%= custom_field_name_tag(custom_field) %> <% end %> <%= hidden_field_tag 'project[issue_custom_field_ids][]', '' %> Index: public/stylesheets/application.css =================================================================== --- public/stylesheets/application.css (revision 14045) +++ public/stylesheets/application.css (working copy) @@ -252,6 +252,7 @@ table.attributes { width: 100% } table.attributes th { vertical-align: top; text-align: left; } table.attributes td { vertical-align: top; } +table.attributes span[title] {border-bottom:1px dotted #aaa;} table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } table.boards td.last-message {text-align:left;font-size:80%;}