From 36aee459088ac1dbaef201d692c2ce142e487bde Mon Sep 17 00:00:00 2001
From: rgarcia
Date: Thu, 4 Feb 2016 12:36:14 +0100
Subject: [PATCH] removes unused combined stats
---
app/views/admin/stats/show.html.erb | 7 +------
config/locales/admin.en.yml | 1 -
config/locales/admin.es.yml | 1 -
3 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/app/views/admin/stats/show.html.erb b/app/views/admin/stats/show.html.erb
index 657cb9b09..930738407 100644
--- a/app/views/admin/stats/show.html.erb
+++ b/app/views/admin/stats/show.html.erb
@@ -12,7 +12,7 @@
<%= t "admin.stats.show.summary.visits" %>
<%= number_with_delimiter(@visits) %>
-
+
<%= t "admin.stats.show.summary.debates" %>
<%= number_with_delimiter(@debates) %>
@@ -79,11 +79,6 @@
-
-
<%= t "admin.stats.show.combined_title" %>
- <%= events_chart_tag @event_types.keys, id: 'combined' %>
-
-
<%= t "admin.stats.show.visits_title" %>
<%= visits_chart_tag id: "visits" %>
diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml
index d9fcd0e2e..51091b1ed 100755
--- a/config/locales/admin.en.yml
+++ b/config/locales/admin.en.yml
@@ -152,7 +152,6 @@ en:
geozone: Scope
stats:
show:
- combined_title: Combined
stats_title: Stats
summary:
comment_votes: Comment votes
diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml
index d71cd7b0b..e6c75ccbf 100644
--- a/config/locales/admin.es.yml
+++ b/config/locales/admin.es.yml
@@ -152,7 +152,6 @@ es:
geozone: "Ámbito"
stats:
show:
- combined_title: Combinado
stats_title: Estadísticas
summary:
comment_votes: Votos en comentarios