X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..48d450060b3b5c19bb1fa8e85341d76177de26d2:/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 %>