1 <% content_for :heading do %>
2 <div <% if @user %> id="userinformation"<% end %>>
4 <%= user_image @user %>
6 <h1><%= h(@title) %></h1>
8 <ul class='secondary-actions clearfix'>
9 <% unless params[:friends] or params[:nearby] -%>
10 <li><%= rss_link_to :action => "rss", :language => params[:language] %></li>
14 <% if @user == current_user %>
16 <li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
22 <li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
30 <% if @entries.empty? %>
31 <h4><%= t ".no_entries" %></h4>
33 <h4><%= t ".recent_entries" %></h4>
35 <%= render @entries %>
37 <div class="pagination">
38 <% if @entries.size < @page_size -%>
39 <%= t(".older_entries") %>
41 <%= link_to t(".older_entries"), @params.merge(:page => @page + 1) %>
47 <%= link_to t(".newer_entries"), @params.merge(:page => @page - 1) %>
49 <%= t(".newer_entries") %>
54 <% unless params[:friends] or params[:nearby] -%>
55 <% content_for :auto_discovery_link_tag do -%>
56 <%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>