X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/88524547953f87a087f97c0b7dbf398835347d82..bb2c0c76ae8b85621c71d2d26e019a1871b39d50:/app/views/map_bugs/my_bugs.html.erb
diff --git a/app/views/map_bugs/my_bugs.html.erb b/app/views/map_bugs/my_bugs.html.erb
index 9802ae1b2..d837c7829 100644
--- a/app/views/map_bugs/my_bugs.html.erb
+++ b/app/views/map_bugs/my_bugs.html.erb
@@ -13,7 +13,7 @@
bgcolor="#EEEEEE"<% end %>>
<% if bug.status == "closed" %>
<%= image_tag("closed_bug_marker.png", :alt => 'closed') %>
@@ -22,14 +22,14 @@
<% end %>
|
<%= link_to bug.id.to_s, :controller => "browse", :action => "bug", :id => bug.id %> |
- <% if bug.comments[0].user.nil? %>
- <%= bug.comments[0].commenter_name %> |
+ <% if bug.author.nil? %>
+ <%= bug.author_name %> |
<% else %>
- <%= link_to h(bug.comments[0].user.display_name), :controller => "user", :action => "view", :display_name => bug.comments[0].user.display_name %> |
+ <%= link_to h(bug.author_name), :controller => "user", :action => "view", :display_name => bug.author_name %> |
<% end %>
- <%= htmlize bug.comments[0].comment %> |
- <%= l bug.date_created %> |
- <%= l bug.last_changed %> |
+ <%= htmlize bug.comments.first.body %> |
+ <%= l bug.created_at %> |
+ <%= l bug.updated_at %> |
<% end %>