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 "shared/pagination",
40 :newer_key => "diary_entries.index.newer_entries",
41 :older_key => "diary_entries.index.older_entries",
42 :newer_id => @newer_entries_id,
43 :older_id => @older_entries_id %>
46 <% unless params[:friends] or params[:nearby] -%>
47 <% content_for :auto_discovery_link_tag do -%>
48 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>