From 96d75a149c0c87749fc4896bb5e6865e6d950cbd Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 13 Jul 2010 11:14:07 -0700 Subject: [PATCH] [#4183] Bold the labels on the contract details so the fields are easier to see. --- app/helpers/contracts_helper.rb | 2 +- assets/stylesheets/redmine_contracts.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/helpers/contracts_helper.rb b/app/helpers/contracts_helper.rb index 400210f..13a52d0 100644 --- a/app/helpers/contracts_helper.rb +++ b/app/helpers/contracts_helper.rb @@ -23,7 +23,7 @@ module ContractsHelper #

def show_field(object, field, options={}) html_options = options[:html_options] || {} - label = content_tag(:span, l(("field_" + field.to_s.gsub(/\_id$/, "")).to_sym) + ": ") + label = content_tag(:span, l(("field_" + field.to_s.gsub(/\_id$/, "")).to_sym) + ": ", :class => 'contract-details-label') formatter = options[:format] raw_content = options[:raw] || false diff --git a/assets/stylesheets/redmine_contracts.css b/assets/stylesheets/redmine_contracts.css index f25d2ef..5bb0a9d 100644 --- a/assets/stylesheets/redmine_contracts.css +++ b/assets/stylesheets/redmine_contracts.css @@ -27,3 +27,5 @@ a.contract-delete {color: red; } #deliverables td.labor, #deliverables td.overhead, #deliverables td.fixed { text-align: center; } #deliverables td.labor div, #deliverables td.overhead div, #deliverables td.fixed div { text-align: right; display: inline; padding: 0 5px; width: 50%; } .spent, .budget { text-align: right; padding: 0 5px; } + +span.contract-details-label { font-weight: bold; }