2 <%= user_image @this_user, :style => "float: right" %>
5 <h2><%= h(@title) %></h2>
8 <% if @user == @this_user %>
9 <%= link_to image_tag("new.png", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new'}, {:title => t('diary_entry.list.new_title')} %>
13 <%= link_to image_tag("new.png", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new'}, {:title => t('diary_entry.list.new_title')} %>
18 <% if @entries.empty? %>
19 <p><%= t 'diary_entry.list.no_entries' %></p>
21 <p><%= t 'diary_entry.list.recent_entries' %></p>
26 <%= render :partial => 'diary_entry', :collection => @entries %>
28 <%= render :partial => 'diary_list_entry', :collection => @entries %>
31 <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next, :language => params[:language] } if @entry_pages.current.next %>
32 <% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %>
33 <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous, :language => params[:language] } if @entry_pages.current.previous %>
38 <%= rss_link_to :action => 'rss', :language => params[:language] %>
40 <% content_for :head do %>
41 <%= auto_discovery_link_tag :atom, :action => 'rss', :language => params[:language] %>