]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list_bbox.rhtml
Forgot that /history can also be called without a bbox (if one can't be found)
[rails.git] / app / views / changeset / list_bbox.rhtml
index 3905c4441e52232ba14b0bb17d87b0d35c496b70..ef774e37819c223167d41f0d5d7f321be66b1a94 100644 (file)
@@ -21,7 +21,7 @@ if @bbox!=nil
 <%= render :partial => 'changesets' %>
 <%= render :partial => 'changeset_paging_nav' %>
 
-<p><%= t'changeset.list_bbox.all_changes_everywhere' , :recent_changes_link => link_to(t('changest.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %> </p>
+<p><%= t'changeset.list_bbox.all_changes_everywhere' , :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %> </p>
 
 <%
        end
@@ -39,3 +39,13 @@ end
 %>
 <br>
 
+<% if @bbox %>
+  <%= rss_link_to :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
+<% end %>
+
+
+<% if @bbox %>
+  <% content_for :head do %>
+    <%= auto_discovery_link_tag :atom, :controller => 'changeset', :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
+  <% end %>
+<% end %>