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 <% if @user && @user == current_user || !@user && current_user %>
20 <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></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>
32 <% if @entries.empty? %>
33 <h4><%= t ".no_entries" %></h4>
35 <h4><%= t ".recent_entries" %></h4>
37 <%= render @entries %>
39 <%= render "pagination", :name => "entries", :scope => "diary_entries.index" %>
42 <% unless params[:friends] or params[:nearby] -%>
43 <% content_for :auto_discovery_link_tag do -%>
44 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>