X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bddb7dd8f9f685afade553b9b5badd6fa6497cf8..fd6f00b069af5a7b87227ea4c3401dc461d7311a:/app/views/trace/_trace_header.rhtml 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.