X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/02ad2f5a5192404185d00ec1b53ae2982760c0ea..c4d0b049eeda5720084ed9801fd9d302d4992279:/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 97e570060..d837c7829 100644 --- a/app/views/map_bugs/my_bugs.html.erb +++ b/app/views/map_bugs/my_bugs.html.erb @@ -4,42 +4,34 @@ <%= render :partial => 'bugs_paging_nav' %>
- | <%= t'bugs.user.id' %> | -<%= t'changeset.changesets.user' %> | -<%= t'changeset.changesets.comment' %> | -<%= t'changeset.changesets.saved_at' %> | -<%= t'bugs.user.last_changed' %> | - - -|
---|---|---|---|---|---|---|
+ | <%= t'bugs.user.id' %> | +<%= t'changeset.changesets.user' %> | +<%= t'changeset.changesets.comment' %> | +<%= t'changeset.changesets.saved_at' %> | +<%= t'bugs.user.last_changed' %> | +|
- <% if bug.status == "closed" %> - <%= image_tag("closed_bug_marker.png", :alt => 'closed') %> - <% else %> - <%= image_tag("open_bug_marker.png", :alt => 'open') %> - <% end %> - | -<%= link_to bug.id.to_s, :controller => "browse", :action => "bug", :id => bug.id %> | - - <% if bug.map_bug_comment[0].user.nil? %> -<%= bug.map_bug_comment[0].commenter_name %> | - <% else %> -<%= link_to h(bug.map_bug_comment[0].user.display_name), :controller => "user", :action => "view", :display_name => bug.map_bug_comment[0].user.display_name %> | - <% end %> -<%= htmlize bug.map_bug_comment[0].comment %> | -<%= l bug.date_created %> | -<%= l bug.last_changed %> | -
+ <% if bug.status == "closed" %> + <%= image_tag("closed_bug_marker.png", :alt => 'closed') %> + <% else %> + <%= image_tag("open_bug_marker.png", :alt => 'open') %> + <% end %> + | +<%= link_to bug.id.to_s, :controller => "browse", :action => "bug", :id => bug.id %> | + <% if bug.author.nil? %> +<%= bug.author_name %> | + <% else %> +<%= link_to h(bug.author_name), :controller => "user", :action => "view", :display_name => bug.author_name %> | + <% end %> +<%= htmlize bug.comments.first.body %> | +<%= l bug.created_at %> | +<%= l bug.updated_at %> | +