1 <h2><%= h(@title) %></h2>
3 <% if @this_user && @this_user.image %>
4 <%= image_tag url_for_file_column(@this_user, "image") %>
9 <% if @user == @this_user %>
10 <%= link_to image_tag("new.png", :border=>0) + 'New diary entry', {:controller => 'diary_entry', :action => 'new', :display_name => @user.display_name}, {:title => 'Compose a new entry in your user diary'} %>
14 <%= link_to image_tag("new.png", :border=>0) + 'New diary entry', {:controller => 'diary_entry', :action => 'new', :display_name => @user.display_name}, {:title => 'Compose a new entry in your user diary'} %>
19 <% if @entries.empty? %>
20 <p>No diary entries</p>
22 <p>Recent diary entries:</p>
26 <%= render :partial => 'diary_entry', :collection => @entries %>
28 <%= link_to "Older Entries", { :page => @entry_pages.current.next } if @entry_pages.current.next %>
29 <% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %>
30 <%= link_to "Newer Entries", { :page => @entry_pages.current.previous } if @entry_pages.current.previous %>
35 <%= rss_link_to :action => 'rss' %>
37 <% content_for :head do %>
38 <%= auto_discovery_link_tag :atom, :action => 'rss' %>