From fc2b86623840ac3ca663dd6b054cf7bb1267b75a Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Thu, 20 Feb 2014 11:41:18 +0100 Subject: [PATCH] Add Homepage button on stats page --- templates/stats.html.ep | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/stats.html.ep b/templates/stats.html.ep index 58b49c6..43af834 100644 --- a/templates/stats.html.ep +++ b/templates/stats.html.ep @@ -9,6 +9,7 @@

<%= $total %><%=l 'pushed-images' %>

+<%= link_to url_for('index') => ( class => "btn btn-primary btn-lg" ) => begin %><%=l 'back-to-index' %><% end%> %= javascript begin function graph(stats_data, stats_labels, stats_total) { // Plot the data