openstreetmap-website/app/views/changeset/list.html.erb
Ævar Arnfjörð Bjarmason b06b6c2ce9 Atom readers (Firefox/Liferea) don't like when we embed XHTML anchors
in the description. So adjust the code that creates the changeset
browser title/description to emit a XHTML and plaintext version with
the HTML and Atom output can use, respectively.

Also:

 * Split up @title into @title and @heading as elsewhere
 * Turn the username on the user / user+bbox browser into a link to the userpage
 * Say "Changesets" instead of "Recent changes". Unlike Wikipedia the changes on OSM aren't guaranteed to be recent, they're just going to be the latest
2009-07-29 18:44:51 +00:00

12 lines
422 B
Text

<h1><%= @heading %></h1>
<p><%= @description %></p>
<%= render :partial => 'changeset_paging_nav' %>
<%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
<%= render :partial => 'changeset_paging_nav' %>
<%= atom_link_to params.merge({ :format => :atom }) %>
<% content_for :head do %>
<%= auto_discovery_link_tag :atom, params.merge({ :format => :atom }) %>
<% end %>