X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c9a3f91f694d03cad351f7fe0553ecf619d27225..ff9fb4f9c2423aa9ddada69ea867031ac65d36fd:/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..9802ae1b2 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.comments[0].user.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.comments[0].commenter_name %> <%= link_to h(bug.comments[0].user.display_name), :controller => "user", :action => "view", :display_name => bug.comments[0].user.display_name %> <%= htmlize bug.comments[0].comment %> <%= l bug.date_created %><%= l bug.last_changed %>
- <%= render :partial => 'bugs_paging_nav' %>