Use {{count}} instead of {{(node|way_relation)_count}} since {{count}}
is a magical enumerated variable in Rails.
This commit is contained in:
parent
1f92b6f35b
commit
7862c89a92
13 changed files with 39 additions and 39 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
<% unless @nodes.empty? %>
|
||||
<tr valign="top">
|
||||
<th><%= t 'browse.changeset_details.has_nodes', :node_count => @node_pages.item_count %></th>
|
||||
<th><%= t 'browse.changeset_details.has_nodes', :count => @node_pages.item_count %></th>
|
||||
<td>
|
||||
<table cellpadding="0">
|
||||
<% @nodes.each do |node| %>
|
||||
|
@ -63,7 +63,7 @@
|
|||
|
||||
<% unless @ways.empty? %>
|
||||
<tr valign="top">
|
||||
<th><%= t 'browse.changeset_details.has_ways', :way_count => @way_pages.item_count %></th>
|
||||
<th><%= t 'browse.changeset_details.has_ways', :count => @way_pages.item_count %></th>
|
||||
<td>
|
||||
<table cellpadding="0">
|
||||
<% @ways.each do |way| %>
|
||||
|
@ -80,7 +80,7 @@
|
|||
|
||||
<% unless @relations.empty? %>
|
||||
<tr valign="top">
|
||||
<th><%= t 'browse.changeset_details.has_relations', :relation_count => @relation_pages.item_count %></th>
|
||||
<th><%= t 'browse.changeset_details.has_relations', :count => @relation_pages.item_count %></th>
|
||||
<td>
|
||||
<table cellpadding="0">
|
||||
<% @relations.each do |relation| %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue