X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5bc80823ecb55399fcc7c35b00815b67c008a05d..7d3a5899c9ef20b9a67eda05c1b1c167b6677bdd:/app/views/trace/_trace_header.rhtml?ds=sidebyside diff --git a/app/views/trace/_trace_header.rhtml b/app/views/trace/_trace_header.rhtml index 8fdd8de7e..f739d9053 100644 --- a/app/views/trace/_trace_header.rhtml +++ b/app/views/trace/_trace_header.rhtml @@ -1,6 +1,8 @@

<%= h(@title) %>

+<% content_for :head do %> <%= auto_discovery_link_tag :atom, :action => 'georss', :display_name => @display_name, :tag => @tag %> +<% end %>

<%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %> @@ -15,12 +17,10 @@ <% end %>

-<% if @display_name %> - <% if @user.traces.count(:conditions => "inserted=0") > 4 %> -

- You have <%= @user.traces.count(:conditions => "inserted=0") %> traces - waiting for upload. Please consider waiting for these to finish before - uploading any more, so as not to block the queue for other users. -

- <% end %> +<% if @user and @user.traces.count(:conditions => "inserted=0") > 4 %> +

+ You have <%= @user.traces.count(:conditions => "inserted=0") %> traces + waiting for upload. Please consider waiting for these to finish before + uploading any more, so as not to block the queue for other users. +

<% end %>