diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb index d968e31..9943bae 100644 --- a/app/views/contracts/show.html.erb +++ b/app/views/contracts/show.html.erb @@ -79,7 +79,11 @@ <%= show_budget_field(resource, :billable_rate, 'nil?', :format => :format_hourly_rate, :html_options => {:class => 'contract-billable-rate total'}) %> <%= show_budget_field(resource, :estimated_hour_spent, :estimated_hour_budget, :format => :l_hours, :html_options => {:class => 'contract-estimated-hour total'}) %> - + + + + +
diff --git a/assets/javascripts/contracts.js b/assets/javascripts/contracts.js index 5d37437..3ac36be 100644 --- a/assets/javascripts/contracts.js +++ b/assets/javascripts/contracts.js @@ -22,6 +22,9 @@ jQuery(function($) { $('#expand_terms').click( function(){ $(this).next().slideToggle(); $(this).toggleClass('alt'); + + var new_height = $('#contract-terms .info').height() - $('#contract-terms .finance').height() + 30; + $('#contract-terms .stretch').css('height', new_height); }); showDeliverableTotal = function() {