1 <% content_for :head, tag(:meta, :name => :robots, :content => :noindex) %>
2 <% content_for :heading do %>
3 <div <% if @user %> id="userinformation"<% end %>>
5 <%= user_image @user %>
9 <nav class="secondary-actions">
11 <% unless params[:friends] or params[:nearby] -%>
12 <li><%= rss_link_to :action => "rss", :language => params[:language] %></li>
15 <% if @user && @user == current_user || !@user && current_user %>
16 <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
19 <% if !@user && current_user %>
20 <li><%= link_to t(".my_diary"), :controller => "diary_entries", :action => "index", :display_name => current_user.display_name %></li>
27 <% if @entries.empty? %>
28 <h4><%= t ".no_entries" %></h4>
30 <h4><%= t ".recent_entries" %></h4>
32 <%= render @entries %>
35 <ul class="pagination">
36 <% if @entries.size >= @page_size -%>
37 <li class="page-item">
38 <%= link_to t(".older_entries"), @params.merge(:page => @page + 1), :class => "page-link" %>
41 <li class="page-item disabled">
42 <span class="page-link"><%= t(".older_entries") %></span>
47 <li class="page-item">
48 <%= link_to t(".newer_entries"), @params.merge(:page => @page - 1), :class => "page-link" %>
51 <li class="page-item disabled">
52 <span class="page-link"><%= t(".newer_entries") %></span>
59 <% unless params[:friends] or params[:nearby] -%>
60 <% content_for :auto_discovery_link_tag do -%>
61 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>