X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a402e811dac1f999dcf623ce6099e554d76c6de4..2160f820ac9fe3f78deb97a3a4285e9bf8daa095:/app/views/diary_entry/list.html.erb
diff --git a/app/views/diary_entry/list.html.erb b/app/views/diary_entry/list.html.erb
index d6af432fb..e6e304ead 100644
--- a/app/views/diary_entry/list.html.erb
+++ b/app/views/diary_entry/list.html.erb
@@ -1,7 +1,7 @@
<% content_for :heading do %>
-
id="userinformation"<% end %> >
- <% if @this_user %>
- <%= user_image @this_user %>
+
id="userinformation"<% end %> >
+ <% if @user %>
+ <%= user_image @user %>
<% end %>
<%= h(@title) %>
@@ -10,8 +10,8 @@
<%= rss_link_to :action => 'rss', :language => params[:language] %>
<% end -%>
- <% if @this_user %>
- <%= if_user(@this_user) do %>
+ <% if @user %>
+ <%= if_user(@user) do %>
<%= link_to image_tag("new.png", :class => "small_icon", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new'}, {:title => t('diary_entry.list.new_title')} %>
<% end %>
<% else %>
@@ -28,7 +28,7 @@
<% else %>
<%= t 'diary_entry.list.recent_entries' %>
- <% if @this_user %>
+ <% if @user %>
<%= render :partial => 'diary_entry', :collection => @entries %>
<% else %>
<%= render :partial => 'diary_list_entry', :collection => @entries %>