diff options
Diffstat (limited to 'app/views/public_body/show.rhtml')
-rw-r--r-- | app/views/public_body/show.rhtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index 85506a1bd..2aab549b6 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -1,7 +1,11 @@ <% @title = h(@public_body.name) + " - view and make Freedom of Information requests" %> <div> <div id="header_right"> - <h2><%= _('Track this authority')%></h2> + <h2><%= _('Follow this authority')%></h2> + + <% follower_count = TrackThing.count(:all, :conditions => ["public_body_id = ?", @public_body.id]) %> + <p><%= n_("There is %d person following this authority", "There are %d people following this authority", follower_count) % follower_count %></p> + <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %> <h2><%= _('More about this authority')%></h2> <% if !@public_body.calculated_home_page.nil? %> |