]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list.rhtml
Add a title to the changeset lists. Closes #1938.
[rails.git] / app / views / changeset / list.rhtml
index 4ac5082e1ca434e327ca74aefbd0b90c4f834414..c3d88bf6e2c6614daf4f9d61be7e9bab56aa69d1 100644 (file)
@@ -1,19 +1,12 @@
-<h1>Recent Changes</h1>
-<p>Recently closed changesets:</p>
+<h1><%= @title %></h1>
+<p><%= @description %></p>
 
-<table id="keyvalue" cellpadding="3">
-  <tr>
-    <th>ID</th>
-    <th>Saved at</th>
-    <th>User</th>
-    <th>Comment</th>
-    <th>Area</th>
-    <th></th>
-  </tr>
-  <%= render :partial => 'changeset', :locals => {:showusername => true},  :collection => @edits unless @edits.nil?  %>
-</table>
+<%= render :partial => 'changeset_paging_nav' %>
+<%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
+<%= render :partial => 'changeset_paging_nav' %>
 
-<p>
-For more changesets, select a user and view their edits, or see the editing 'history' of a specific area.
-</p>
-<br>
+<%= rss_link_to params.merge({ :format => 'rxml' }) %>
+
+<% content_for :head do %>
+<%= auto_discovery_link_tag :atom, params.merge({ :format => 'rxml' }) %>
+<% end %>