]> git.openstreetmap.org Git - rails.git/commitdiff
Don't show feed icons for friend and nearby user lists
authorTom Hughes <tom@compton.nu>
Sat, 7 Jan 2012 12:48:09 +0000 (12:48 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 7 Jan 2012 12:48:09 +0000 (12:48 +0000)
app/views/changeset/list.html.erb
app/views/diary_entry/list.html.erb

index 5d12aa83794bb1cb7a8a2344acddc298e7f44b00..bf8adbe20a333d96df02fef1b64d09260f7d3916 100644 (file)
 
 <%= render :partial => 'changeset_paging_nav' %>
 
+<% unless params[:friends] or params[:nearby] -%>
 <%= atom_link_to params.merge({ :page => nil, :action => :feed }) %>
 
-<% content_for :head do %>
+<% content_for :head do -%>
 <%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>
-<% end %>
+<% end -%>
+<% end -%>
index 03a326d16bbf7f9dee36245148f4f84ed09b609b..9de2efea541efaa8d068a9154a6acada9897cd51 100644 (file)
   <br />
 <% end %>
 
+<% unless params[:friends] or params[:nearby] -%>
 <%= rss_link_to :action => 'rss', :language => params[:language] %>
 
-<% content_for :head do %>
+<% content_for :head do -%>
 <%= auto_discovery_link_tag :atom, :action => 'rss', :language => params[:language] %>
-<% end %>
+<% end -%>
+<% end -%>