2 <%= user_image @this_user %>
5 <h2><%= h(@title) %></h2>
8 <% if_user(@this_user) do %>
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')} %>
17 <% if @entries.empty? %>
18 <p><%= t 'diary_entry.list.no_entries' %></p>
20 <p><%= t 'diary_entry.list.recent_entries' %></p>
25 <%= render :partial => 'diary_entry', :collection => @entries %>
27 <%= render :partial => 'diary_list_entry', :collection => @entries %>
30 <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next, :language => params[:language] } if @entry_pages.current.next %>
31 <% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %>
32 <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous, :language => params[:language] } if @entry_pages.current.previous %>
37 <%= rss_link_to :action => 'rss', :language => params[:language] %>
39 <% content_for :head do %>
40 <%= auto_discovery_link_tag :atom, :action => 'rss', :language => params[:language] %>