X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..318c7a9854f31bebd39eb8e90fbf11a95bfa8995:/app/views/diary_entry/view.html.erb?ds=sidebyside 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 %>