From 49eb58ff51dd30f5fad8bdb715b241b4e0d58019 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 1 Nov 2014 17:47:52 +0100 Subject: [PATCH] Build a span per customer so that they flow and use two columns in the overview --- stoptime.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stoptime.rb b/stoptime.rb index 379bb70..afad6aa 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -1591,8 +1591,8 @@ module StopTime::Views end else div.row do - div.span6 do - @tasks.keys.sort_by { |c| c.name }.each do |customer| + @tasks.keys.sort_by { |c| c.name }.each do |customer| + div.span6 do inv_klass = "text_info" inv_klass = "text_warning" if customer.invoices.any? { |inv| inv.past_due? } inv_klass = "text_error" if customer.invoices.any? { |inv| inv.way_past_due? }