Fixed the enumeration of actions in hidden contexts on the /todo/list page, that was broken in changeset:49. Fixes ticket:16.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@53 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
bsag 2005-03-30 09:53:46 +00:00
parent 73a588fe26
commit 310b763fb5

View file

@ -33,7 +33,7 @@
<p>Hidden contexts:
<% for @hidden_place in @hidden_places %>
<% num = count_items(@hidden_place) %>
<%= link_to @hidden_place.name.capitalize, :controller=>"context", :action=> "show", :name=> urlize(@hidden_place.name) %>
<%= link_to @hidden_place.name.capitalize, :controller=>"context", :action=> "show", :name=> urlize(@hidden_place.name) %><%= ' ('+ num.to_s + ') ' + '|' %>
<% end %>
</p>