[#4510] Stretch the right rail of the Contract Finances.
Contributed by Philo Hermans
This commit is contained in:
@@ -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'}) %>
|
||||
|
||||
<tr>
|
||||
<td class="stretch" colspan="3">
|
||||
<!-- Stretch table height -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user