X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/02ad2f5a5192404185d00ec1b53ae2982760c0ea..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' %>
- | <%= 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.comments[0].user.nil? %> +<%= bug.comments[0].commenter_name %> | + <% else %> +<%= link_to h(bug.comments[0].user.display_name), :controller => "user", :action => "view", :display_name => bug.comments[0].user.display_name %> | + <% end %> +<%= htmlize bug.comments[0].comment %> | +<%= l bug.date_created %> | +<%= l bug.last_changed %> | +