diff options
Diffstat (limited to 'app/views/request')
-rw-r--r-- | app/views/request/_sidebar.rhtml | 5 | ||||
-rw-r--r-- | app/views/request/list.rhtml | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/views/request/_sidebar.rhtml b/app/views/request/_sidebar.rhtml index e562c4f6a..62ece4821 100644 --- a/app/views/request/_sidebar.rhtml +++ b/app/views/request/_sidebar.rhtml @@ -1,5 +1,8 @@ <div id="right_column"> - <h2><%= _('Track this request') %></h2> + <h2><%= _('Follow this request') %></h2> + + <% follower_count = TrackThing.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) + 1 %> + <p><%= n_("There is %d person following this request", "There are %d people following this request", follower_count) % follower_count %></p> <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => @info_request.user == @user, :location => 'sidebar' } %> <h2><%= _("Act on what you've learnt") %></h2> diff --git a/app/views/request/list.rhtml b/app/views/request/list.rhtml index 28dc55cdf..44c53ca1d 100644 --- a/app/views/request/list.rhtml +++ b/app/views/request/list.rhtml @@ -5,7 +5,7 @@ </div> <div id="header_right"> - <h2>Track these requests</h2> + <h2>Follow these requests</h2> <% if @track_thing %> <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'main' } %> <% end %> |