- <table>
- <tr>
- <th><%= t 'browse.bug.created_at' %></th>
- <td><%= l @bug.date_created %></td>
- </tr>
-
- <tr>
- <th><%= t 'browse.bug.edited_at' %></th>
- <td><%= l @bug.last_changed %></td>
- </tr>
- <% if @bug.status == "closed" %>
- <tr>
- <th><%= t 'browse.bug.closed_at' %></th>
- <td><%= l @bug.date_closed %></td>
- </tr>
- <% end %>
- <tr>
- <th><%= t 'browse.bug.opened_by' %></th>
- <% if @bug.map_bug_comment[0].user.nil? %>
- <td> <%= @bug.map_bug_comment[0].commenter_name %> </td>
- <% else %>
- <td><%= 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 %></td>
- <% end %>
- </tr>
- <tr>
- <th><%= t 'browse.bug.description' %></th>
- <td><%= h(@bug.map_bug_comment[0].comment) %></td>
- </tr>
+ <table>
+ <tr>
+ <th><%= t 'browse.bug.created_at' %></th>
+ <td><%= l @bug.created_at %></td>
+ </tr>
+ <tr>
+ <th><%= t 'browse.bug.edited_at' %></th>
+ <td><%= l @bug.updated_at %></td>
+ </tr>
+ <% if @bug.status == "closed" %>
+ <tr>
+ <th><%= t 'browse.bug.closed_at' %></th>
+ <td><%= l @bug.closed_at %></td>
+ </tr>
+ <% end %>
+ <tr>
+ <th><%= t 'browse.bug.opened_by' %></th>
+ <% if @bug.comments.first.user.nil? %>
+ <td> <%= @bug.comments.first.author_name %> </td>
+ <% else %>
+ <td><%= link_to h(@bug.comments.first.user.display_name), :controller => "user", :action => "view", :display_name => @bug.comments.first.user.display_name %></td>
+ <% end %>
+ </tr>
+ <tr>
+ <th><%= t 'browse.bug.description' %></th>
+ <td><%= h(@bug.comments.first.body) %></td>
+ </tr>
+ <tr>
+ <th><%= t 'browse.node_details.coordinates' %></th>
+ <td><div class="geo"><%= link_to ("<span class='latitude'>#{number_with_delimiter(@bug.lat)}</span>, <span class='longitude'>#{number_with_delimiter(@bug.lon)}</span>"), {:controller => 'site', :action => 'index', :lat => h(@bug.lat), :lon => h(@bug.lon), :zoom => "18"} %></div></td>
+ </tr>
+ </table>