1 <% content_for :head, tag.meta(:name => :robots, :content => :noindex) %>
2 <% content_for :heading do %>
6 <%= user_image @user %>
11 <h1><%= @title %></h1>
13 <nav class="secondary-actions">
15 <% unless params[:friends] or params[:nearby] -%>
16 <li><%= rss_link_to :action => "rss", :language => params[:language] %></li>
19 <% @languages&.each do |language| %>
20 <li><%= link_to t(".in_language_title", :language => language.name), :action => "index", :language => language.code %></li>
23 <% if !@user && current_user %>
24 <li><%= link_to t(".my_diary"), :controller => "diary_entries", :action => "index", :display_name => current_user.display_name %></li>
27 <% if @user && @user == current_user || !@user && current_user %>
28 <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
36 <% if @entries.empty? %>
37 <h4><%= t ".no_entries" %></h4>
39 <h4><%= t ".recent_entries" %></h4>
41 <%= render @entries %>
43 <%= render "shared/pagination",
44 :newer_key => "diary_entries.index.newer_entries",
45 :older_key => "diary_entries.index.older_entries",
46 :newer_id => @newer_entries_id,
47 :older_id => @older_entries_id %>
50 <% unless params[:friends] or params[:nearby] -%>
51 <% content_for :auto_discovery_link_tag do -%>
52 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>