X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..79e140641c1b73a2776f28d4a3bfc9cfc5ef0401:/app/views/diary_entry/view.html.erb 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 %>