]> git.openstreetmap.org Git - rails.git/blob - app/views/trace/_trace_header.html.erb
Localisation updates from translatewiki.net (2009-12-07)
[rails.git] / app / views / trace / _trace_header.html.erb
1 <h1><%= h(@title) %></h1>
2
3 <% content_for :head do %>
4 <%= auto_discovery_link_tag :atom, :action => 'georss', :display_name => @display_name, :tag => @tag %>
5 <% end %>
6
7 <p>
8   <%= rss_link_to :action => 'georss', :display_name => @display_name, :tag => @tag %>
9   <% if @user.nil? or @display_name.nil? or @user.display_name != @display_name %>
10     | <%= link_to t('trace.trace_header.see_just_your_traces'), :action => 'mine' %>
11   <% end %>
12   <% if @tag or @display_name %>
13     | <%= link_to t('trace.trace_header.see_all_traces'), :controller => 'trace', :action => 'list' %>
14   <% end %>
15   <% if @tag and @user and @user.display_name == @display_name %>
16     | <%= link_to t('trace.trace_header.see_your_traces'), :controller => 'trace', :action => 'mine' %>
17   <% end %>
18 </p>
19
20 <% if @user and @user.traces.count(:conditions => ["inserted=?", false]) > 4 %>
21   <p><%= t'trace.trace_header.traces_waiting', :count => @user.traces.count(:conditions => ["inserted=?", false]) %></p>
22 <% end %>