Adding new browse controller test, which is mostly stubs just now. Also adding the...
[rails.git] / app / views / browse / index.rhtml
index 2cd5cc9da4c09c1f46655033c93042bc0e94bb5f..e9d830a1063d511fc43e0a81a2adcb172e70c128 100644 (file)
@@ -1,11 +1,11 @@
 <h2><%= @nodes.length %> Recently Changed Nodes</h2> 
-<ul>
+<ul id="recently_changed">
 <% @nodes.each do |node| 
    name = node.tags_as_hash['name'].to_s 
    if name.length == 0:
      name = "(No name)"
    end
-   name = name + " - " + node.id.to_s 
+   name = "#{name} - #{node.id} (#{node.version})"
 %>
    <li><%= link_to h(name), :action => "node", :id => node.id %></li>
 <% end %>