X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/840a4020319e5444af979cf9c0ab4bac1b3c6134..8f8cbc4ae8c0b335a9f68c7749ad49a4a74e3e07:/app/views/trace/_trace_header.rhtml?ds=inline diff --git a/app/views/trace/_trace_header.rhtml b/app/views/trace/_trace_header.rhtml index c89a2a390..cab6f7124 100644 --- a/app/views/trace/_trace_header.rhtml +++ b/app/views/trace/_trace_header.rhtml @@ -1,7 +1,11 @@
-
+ <%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %>
<% if @user.nil? or @display_name.nil? or @user.display_name != @display_name %>
| <%= link_to 'See just your traces, or upload a trace', :action => 'mine' %>
<% end %>
@@ -13,12 +17,10 @@
<% end %>
- 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=?", false]) > 4 %> ++ 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. +
<% end %>