]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace_header.rhtml
Add the ago translation in the user account view that was missed.
[rails.git] / app / views / trace / _trace_header.rhtml
index b4ef3f61273c125b1396f65618173e696f47e4de..cab6f7124504320d1eb19b8920bac3971b980e5b 100644 (file)
@@ -1,6 +1,8 @@
 <h1><%= h(@title) %></h1>
 
+<% content_for :head do %>
 <%= auto_discovery_link_tag :atom, :action => 'georss', :display_name => @display_name, :tag => @tag %>
+<% end %>
 
 <p>
   <%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %>
@@ -15,9 +17,9 @@
   <% end %>
 </p>
 
-<% if @user and @user.traces.count(:conditions => "inserted=0") > 4 %>
+<% if @user and @user.traces.count(:conditions => ["inserted=?", false]) > 4 %>
   <p>
-    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.
   </p>