X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f4239f8fc5d0e89da2eff4132332fdf0efdaf62a..95e1aff23493b3725d5259bcca7bcc79d7d3bc26:/app/views/diary_entries/_diary_entry.html.erb?ds=sidebyside diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index a31560516..2d8243d1b 100644 --- a/app/views/diary_entries/_diary_entry.html.erb +++ b/app/views/diary_entries/_diary_entry.html.erb @@ -1,18 +1,7 @@ -
-
- <% if !@user %> - <%= user_thumbnail diary_entry.user %> - <% end %> +
+ <%= render :partial => "diary_entry_heading", :object => diary_entry, :as => "diary_entry" %> -

<%= link_to diary_entry.title, diary_entry_path(diary_entry.user, diary_entry) %>

- - - <%= t(".posted_by_html", :link_user => (link_to diary_entry.user.display_name, user_path(diary_entry.user)), :created => l(diary_entry.created_at, :format => :blog), :language_link => (link_to diary_entry.language.name, :controller => "diary_entries", :action => "index", :display_name => nil, :language => diary_entry.language_code), :updated => l(diary_entry.updated_at, :format => :blog)) %> - - -
- -
+
<%= diary_entry.body.to_html %>
@@ -20,31 +9,40 @@ <%= render :partial => "location", :object => diary_entry %> <% end %> - -
+ + +