[#4183] Bold the labels on the contract details so the fields are easier to see.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user