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 <ul class="secondary-actions clearfix">
10 <% unless params[:friends] or params[:nearby] -%>
11 <li><%= rss_link_to :action => "rss", :language => params[:language] %></li>
14 <% if @user && @user == current_user || !@user && current_user %>
15 <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
18 <% if !@user && current_user %>
19 <li><%= link_to t(".my_diary"), :controller => "diary_entries", :action => "index", :display_name => current_user.display_name %></li>
25 <% if @entries.empty? %>
26 <h4><%= t ".no_entries" %></h4>
28 <h4><%= t ".recent_entries" %></h4>
30 <%= render @entries %>
33 <ul class="pagination">
34 <% if @entries.size >= @page_size -%>
35 <li class="page-item">
36 <%= link_to t(".older_entries"), @params.merge(:page => @page + 1), :class => "page-link" %>
39 <li class="page-item disabled">
40 <span class="page-link"><%= t(".older_entries") %></span>
45 <li class="page-item">
46 <%= link_to t(".newer_entries"), @params.merge(:page => @page - 1), :class => "page-link" %>
49 <li class="page-item disabled">
50 <span class="page-link"><%= t(".newer_entries") %></span>
57 <% unless params[:friends] or params[:nearby] -%>
58 <% content_for :auto_discovery_link_tag do -%>
59 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>