X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bddb7dd8f9f685afade553b9b5badd6fa6497cf8..77303f1e5ac466d59129f6cf083e5f6d6ac09288:/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 f739d9053..cab6f7124 100644 --- a/app/views/trace/_trace_header.rhtml +++ b/app/views/trace/_trace_header.rhtml @@ -17,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.