X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..198281ffa9c26d7c18ef0bcf293f2c22dd37fcd2:/app/views/diary_entry/view.html.erb?ds=inline diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb index 7ff35b494..312b7b81a 100644 --- a/app/views/diary_entry/view.html.erb +++ b/app/views/diary_entry/view.html.erb @@ -1,10 +1,12 @@ +<%= user_image @entry.user, :style => "float: right" %> +

<%= t 'diary_entry.view.user_title', :user => h(@entry.user.display_name) %>

<%= render :partial => 'diary_entry', :object => @entry %> -<%= render :partial => 'diary_comment', :collection => @entry.diary_comments %> +<%= render :partial => 'diary_comment', :collection => @entry.visible_comments %> <% if @user %>