From 878d8802a43f3e65baf96e2424f92589f0108144 Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 6 Nov 2014 00:36:58 +0100 Subject: [PATCH] Petit ajout classe css --- app/assets/javascripts/regions.js.coffee | 1 - app/views/stats/index.html.haml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/regions.js.coffee b/app/assets/javascripts/regions.js.coffee index 19d352be..b96d0e2a 100644 --- a/app/assets/javascripts/regions.js.coffee +++ b/app/assets/javascripts/regions.js.coffee @@ -7,7 +7,6 @@ $(document).ready -> $(this).find('.sparkline').sparkline vals, width: '5em' - $('table.list.dates tfoot').each -> vals = $(this).find('th.quantity').map -> return parseInt $(this).html().replace(' ', '') diff --git a/app/views/stats/index.html.haml b/app/views/stats/index.html.haml index 86104c9f..73bfa473 100644 --- a/app/views/stats/index.html.haml +++ b/app/views/stats/index.html.haml @@ -63,7 +63,7 @@ - total += @regions[[region.id, year[0]]] || 0 = link_to root_path(year: "#{year[0]}", region: region.id) do = number_with_delimiter @regions[[region.id, year[0]]] - %th.total= number_with_delimiter total + %th.quantity.total= number_with_delimiter total %td.sparkline/ %h3=t '.city'