X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..72b05157ae4d59177cd2fb667c42328b203374f1:/app/views/trace/_trace_header.rhtml diff --git a/app/views/trace/_trace_header.rhtml b/app/views/trace/_trace_header.rhtml index b4ef3f612..cab6f7124 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,9 +17,9 @@ <% end %>

-<% if @user and @user.traces.count(:conditions => "inserted=0") > 4 %> +<% if @user and @user.traces.count(:conditions => ["inserted=?", false]) > 4 %>

- You have <%= @user.traces.count(:conditions => "inserted=0") %> traces + You have <%= @user.traces.count(:conditions => ["inserted=?", false]) %> 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.