X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/db30a423a8f923bbcae709e1c8f6e337f637bc9a..b3ef9c06c59cdcde8e7a8f5e5e7c538f5336dc47:/app/views/browse/_common.rhtml diff --git a/app/views/browse/_common.rhtml b/app/views/browse/_common.rhtml index 70b96590b..d400405c3 100644 --- a/app/views/browse/_common.rhtml +++ b/app/views/browse/_common.rhtml @@ -3,7 +3,7 @@
  • <%= link_to h("API"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id %>
  • <%= link_to h("History"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id, :action => "history" %>
  • -Last edited: <%= h(obj.timestamp) %><% if obj.user.data_public %>, - by <%= link_to h(obj.user.display_name), :controller => 'user', :action => 'view' , :display_name => obj.user.display_name %> +Last edited: <%= h(obj.timestamp) %> +<% if obj.user.data_public %> +by <%= link_to h(obj.user.display_name), :controller => 'user', :action => 'view' , :display_name => obj.user.display_name %> <% end %> -