X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8ee1351049ef1bb4d7b50d071b2a96154266d1d..c48263e15c7d6a4547863b533ff863d5146917e8:/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.