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 %>
40 <ul class="pagination">
41 <% if @newer_entries -%>
42 <li class="page-item">
43 <%= link_to t(".newer_entries"), @params.merge(:after => @entries.first.id), :class => "page-link" %>
46 <li class="page-item disabled">
47 <span class="page-link"><%= t(".newer_entries") %></span>
51 <% if @older_entries -%>
52 <li class="page-item">
53 <%= link_to t(".older_entries"), @params.merge(:before => @entries.last.id), :class => "page-link" %>
56 <li class="page-item disabled">
57 <span class="page-link"><%= t(".older_entries") %></span>
64 <% unless params[:friends] or params[:nearby] -%>
65 <% content_for :auto_discovery_link_tag do -%>
66 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>