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' %> - - - - - - - - - - + + + + + + + + <% @bugs.each do |bug| %> -<% if bug.map_bug_comment[0].user == @user2 %> - -<% else %> - -<% end %> - - - - <% if bug.map_bug_comment[0].user.nil? %> - - <% else %> - - <% end %> - - - - + bgcolor="#EEEEEE"<% end %>> + + + <% if bug.author.nil? %> + + <% else %> + + <% end %> + + + + <% end %>
<%= 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 %> <%= bug.map_bug_comment[0].commenter_name %> <%= 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 %> <%= 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 %> <%= bug.author_name %> <%= link_to h(bug.author_name), :controller => "user", :action => "view", :display_name => bug.author_name %> <%= htmlize bug.comments.first.body %> <%= l bug.created_at %><%= l bug.updated_at %>
- <%= render :partial => 'bugs_paging_nav' %>