X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/90c5d95ac4c19ab68fc9e0cdfb570b0251f03ee4..91a4fd6b5ab7a077211a7608248b3878f226d405:/app/views/diary_entries/show.html.erb?ds=sidebyside diff --git a/app/views/diary_entries/show.html.erb b/app/views/diary_entries/show.html.erb index 154a7a195..5bfdfa17b 100644 --- a/app/views/diary_entries/show.html.erb +++ b/app/views/diary_entries/show.html.erb @@ -1,15 +1,18 @@ <% content_for :heading do %> -
- <%= user_image @entry.user %> -

<%= link_to t(".user_title", :user => @entry.user.display_name), :action => :index %>

-

<%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %>

+
+
+ <%= user_image @entry.user %> +
+
+

<%= link_to t(".user_title", :user => @entry.user.display_name), :action => :index %>

+

<%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %>

+
<% end %> <%= render @entry %> - -
+
<%= render :partial => "diary_comment", :collection => @comments %>
@@ -29,7 +32,7 @@ <% end %> <% end %> <% else %> -

<%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), :controller => "users", :action => "login", :referer => request.fullpath)) %>

+

<%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), login_path(:referer => request.fullpath))) %>

<% end %>