]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace_form.html.erb
Merge remote branch 'remotes/apmon/openID' into openID
[rails.git] / app / views / trace / _trace_form.html.erb
index 194b8b2bc920135d9e30a12065ead1a9d48b07ee..3d93b65e818ffcd6f63e4760795313b0490bf5be 100644 (file)
@@ -1,3 +1,7 @@
+<% if @user.traces.count(:conditions => ["inserted=?", false]) > 4 %>
+  <p><%= t'trace.trace_header.traces_waiting', :count => @user.traces.count(:conditions => ["inserted=?", false]) %></p>
+<% end %>
+
 <% form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
 <table>
   <tr><td align="right"><%= t'trace.trace_form.upload_gpx' %></td><td><%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %></td></tr>