]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/index.rhtml
Adding new browse controller test, which is mostly stubs just now. Also adding the...
[rails.git] / app / views / browse / index.rhtml
1 <h2><%= @nodes.length %> Recently Changed Nodes</h2> 
2 <ul id="recently_changed">
3 <% @nodes.each do |node| 
4    name = node.tags_as_hash['name'].to_s 
5    if name.length == 0:
6      name = "(No name)"
7    end
8    name = "#{name} - #{node.id} (#{node.version})"
9 %>
10    <li><%= link_to h(name), :action => "node", :id => node.id %></li>
11 <% end %>
12 </ul>