aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-05-28 12:24:32 +0100
committerGareth Rees <gareth@mysociety.org>2014-06-04 10:32:54 +0100
commit00c293ea0933626fa0aa82c7503d4bce3c386d60 (patch)
treea20637b813651fd744d64d3234fd1df2d701dd46
parent06e23c0ebcac8d71aff2a10872413cb4b00a3c90 (diff)
Link to public body stats
-rw-r--r--app/views/public_body/_list_sidebar_extra.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/public_body/_list_sidebar_extra.html.erb b/app/views/public_body/_list_sidebar_extra.html.erb
index 290593d6a..6e683d7a1 100644
--- a/app/views/public_body/_list_sidebar_extra.html.erb
+++ b/app/views/public_body/_list_sidebar_extra.html.erb
@@ -1,3 +1,8 @@
+<% if AlaveteliConfiguration::public_body_statistics_page %>
+ <p>
+ <%= link_to _('Public authority statistics'), public_bodies_statistics_path %>
+ </p>
+<% end %>
<p>
<%= link_to _('Are we missing a public authority?'), help_requesting_path + '#missing_body' %>
</p>