aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/widgets/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/widgets/show.html.erb')
-rw-r--r--app/views/widgets/show.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/widgets/show.html.erb b/app/views/widgets/show.html.erb
index 1dd8969b6..fde5f33f6 100644
--- a/app/views/widgets/show.html.erb
+++ b/app/views/widgets/show.html.erb
@@ -14,8 +14,7 @@
</div>
</div>
<div class="alaveteli-widget__people-count">
- <% count = TrackThing.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) + 1 + WidgetVote.count(:all, :conditions => ["info_request_id = ?", @info_request.id]) %>
- <%= n_('<div class="alaveteli-widget__count">{{count}}</div> person wants to know', '<div class="alaveteli-widget__count">{{count}}</div> people want to know', count, :count => count) %>
+ <%= n_('<div class="alaveteli-widget__count">{{count}}</div> person wants to know', '<div class="alaveteli-widget__count">{{count}}</div> people want to know', @count, :count => @count) %>
</div>
</div>