X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cacf1879c3bbae1fac645b53be6abf9ee139d686..b72fedb162d3fcecc304d7dfe5f67acb30844099:/app/views/diary_entry/list.rhtml diff --git a/app/views/diary_entry/list.rhtml b/app/views/diary_entry/list.rhtml index 7d592d87e..e648e46f2 100644 --- a/app/views/diary_entry/list.rhtml +++ b/app/views/diary_entry/list.rhtml @@ -1,8 +1,9 @@ -

<%= @title %>

+

<%= h(@title) %>

-<% if @this_user.image %> +<% if @this_user && @this_user.image %> <%= image_tag url_for_file_column(@this_user, "image") %> <% end %> +
<% if @this_user %> @@ -27,5 +28,5 @@
-<%= link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), :action => 'rss') %> -<%= auto_discovery_link_tag(:atom, :action => 'rss') %> +<%= rss_link_to :action => 'rss' %> +<%= auto_discovery_link_tag :atom, :action => 'rss' %>