From 260939349784a1b3bccd447cd5ab7231ec7c50cc Mon Sep 17 00:00:00 2001
From: Stas Vilchik
Date: Thu, 15 May 2014 10:03:34 +0200
Subject: Improve ui of the size widget
---
.../org/sonar/plugins/core/widgets/size.html.erb | 44 +++++++++++-----------
1 file changed, 21 insertions(+), 23 deletions(-)
(limited to 'plugins')
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb
index 495005cb8b5..bd98536bad0 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb
@@ -25,30 +25,28 @@
<%= dashboard_configuration.selected_period? ? format_variation(ncloc) : trend_icon(ncloc) -%>
<% if ncloc_language_dist_hash %>
-
- <%
- max = ncloc_language_dist_hash.max_by{|_k,v| v.to_i}[1].to_i
+
+
<% end %>
<% else %>
--
cgit v1.2.3