X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88524547953f87a087f97c0b7dbf398835347d82..bb490aca81d8063a9ad8dd8f1a023c709c096792:/app/views/browse/bug.html.erb diff --git a/app/views/browse/bug.html.erb b/app/views/browse/bug.html.erb index 9fd571abe..698532290 100644 --- a/app/views/browse/bug.html.erb +++ b/app/views/browse/bug.html.erb @@ -20,29 +20,29 @@ - + - + <% if @bug.status == "closed" %> - + <% end %> - <% if @bug.comments.first.user.nil? %> - + <% if @bug.author.nil? %> + <% else %> - + <% end %> - + @@ -63,13 +63,13 @@ - - + + <% end %>
<%= t 'browse.bug.created_at' %><%= l @bug.date_created %><%= l @bug.created_at %>
<%= t 'browse.bug.edited_at' %><%= l @bug.last_changed %><%= l @bug.updated_at %>
<%= t 'browse.bug.closed_at' %><%= l @bug.date_closed %><%= l @bug.closed_at %>
<%= t 'browse.bug.opened_by' %> <%= @bug.comments.first.commenter_name %> <%= @bug.author_name %> <%= link_to h(@bug.comments.first.user.display_name), :controller => "user", :action => "view", :display_name => @bug.comments.first.user.display_name %><%= link_to h(@bug.author_name), :controller => "user", :action => "view", :display_name => @bug.author_name %>
<%= t 'browse.bug.description' %><%= h(@bug.comments.first.comment) %><%= h(@bug.comments.first.body) %>
<%= t 'browse.node_details.coordinates' %>
<% if bug_comment.user.nil? %> - <%= bug_comment.commenter_name %> + <%= bug_comment.author_name %> <% else %> <%= link_to h(bug_comment.user.display_name), :controller => "user", :action => "view", :display_name => bug_comment.user.display_name %> <% end %> <%= h(bug_comment.comment) %> <%= l bug_comment.date_created %> <%= h(bug_comment.body) %> <%= l bug_comment.created_at %>