From: Tom Hughes Date: Sun, 24 Feb 2008 17:38:50 +0000 (+0000) Subject: Display the image of the user who made the diary entry, not that of X-Git-Tag: live~8722 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/32907b1c37244c6b1a1ce76a74edadf8817422ed?ds=sidebyside Display the image of the user who made the diary entry, not that of the currently logged in user... --- diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml index 7d592d87e..4fd5e7bc2 100644 --- a/app/views/diary_entry/list.rhtml +++ b/app/views/diary_entry/list.rhtml @@ -1,8 +1,9 @@

<%= @title %>

-<% if @this_user.image %> - <%= image_tag url_for_file_column(@this_user, "image") %> +<% if @user.image %> + <%= image_tag url_for_file_column(@user, "image") %> <% end %> +
<% if @this_user %>