diff --git a/app/assets/stylesheets/work_packages.css b/app/assets/stylesheets/work_packages.css index 970f8ea1c5..f8b9edd26c 100644 --- a/app/assets/stylesheets/work_packages.css +++ b/app/assets/stylesheets/work_packages.css @@ -30,3 +30,7 @@ See doc/COPYRIGHT.rdoc for more details. #work-packages-query-selection .select2-container { margin-left: 5px; } + +.issue .attributes td.work_package_attribute_header { + font-weight: bold; +} diff --git a/app/helpers/work_packages_helper.rb b/app/helpers/work_packages_helper.rb index 4995d115f1..d41225c4f6 100644 --- a/app/helpers/work_packages_helper.rb +++ b/app/helpers/work_packages_helper.rb @@ -352,7 +352,9 @@ module WorkPackagesHelper def work_package_show_table_row(attribute, klass = nil, &block) klass = attribute.to_s.dasherize if klass.nil? - content = content_tag(:th, :class => klass) { "#{WorkPackage.human_attribute_name(attribute)}:" } + content = content_tag(:td, :class => [:work_package_attribute_header, klass]) do + "#{WorkPackage.human_attribute_name(attribute)}:" + end content << content_tag(:td, :class => klass, &block) WorkPackageAttribute.new(attribute, content)