[#4183] Bold the labels on the contract details so the fields are easier to see.
This commit is contained in:
1 parent
9f4fec3fd2
commit
96d75a149c
2 files changed
+3
-1
No files matched your search
@@ -23,7 +23,7 @@ module ContractsHelper
|
|||||||
# </p>
|
# </p>
|
||||||
def show_field(object, field, options={})
|
def show_field(object, field, options={})
|
||||||
html_options = options[:html_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]
|
formatter = options[:format]
|
||||||
raw_content = options[:raw] || false
|
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, #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%; }
|
#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; }
|
.spent, .budget { text-align: right; padding: 0 5px; }
|
||||||
|
|
||||||
|
span.contract-details-label { font-weight: bold; }
|
||||||
Reference in new issue
Block a user