X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/82bb9d02f3c814d2b4b5b8e0599dccf78017231d..77d495ccdc4c6d07cb7795177c73ba541afc44e0:/app/views/diary_entries/show.html.erb 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 %> -
<%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %>
+<%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %>
+
<%= 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 %>