[#4183] Bold the labels on the contract details so the fields are easier to see.

This commit is contained in:
Eric Davis
2010-07-13 11:14:07 -07:00
parent 9f4fec3fd2
commit 96d75a149c
2 changed files with 3 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ module ContractsHelper
# </p>
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

View File

@@ -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; }