5 <% if @bug.status == "closed" %>
6 <%= image_tag("closed_bug_marker.png", :alt => 'closed') %>
7 <%= t 'browse.bug.closed_title', :bug_name => @bug.id %>
9 <%= image_tag("open_bug_marker.png", :alt => 'open') %>
10 <%= t 'browse.bug.open_title', :bug_name => @bug.id %>
15 <%= render :partial => "navigation" %>
22 <th><%= t 'browse.bug.created_at' %></th>
23 <td><%= l @bug.date_created %></td>
26 <th><%= t 'browse.bug.edited_at' %></th>
27 <td><%= l @bug.last_changed %></td>
29 <% if @bug.status == "closed" %>
31 <th><%= t 'browse.bug.closed_at' %></th>
32 <td><%= l @bug.date_closed %></td>
36 <th><%= t 'browse.bug.opened_by' %></th>
37 <% if @bug.comments.first.user.nil? %>
38 <td> <%= @bug.comments.first.commenter_name %> </td>
40 <td><%= link_to h(@bug.comments.first.user.display_name), :controller => "user", :action => "view", :display_name => @bug.comments.first.user.display_name %></td>
44 <th><%= t 'browse.bug.description' %></th>
45 <td><%= h(@bug.comments.first.comment) %></td>
48 <th><%= t 'browse.node_details.coordinates' %></th>
49 <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>
55 <% if @bug.comments.length > 1 %>
58 <th width="20%"> <%= t 'browse.bug.comment_by' %></th>
59 <th width="60%"> <%= t 'browse.bug.comment' %></th>
60 <th width="20%"> <%= t 'browse.bug.date' %></th>
62 <% @bug.comments[1..-1].each do |bug_comment| %>
65 <% if bug_comment.user.nil? %>
66 <%= bug_comment.commenter_name %>
68 <%= link_to h(bug_comment.user.display_name), :controller => "user", :action => "view", :display_name => bug_comment.user.display_name %>
71 <td> <%= h(bug_comment.comment) %> </td>
72 <td> <%= l bug_comment.date_created %> </td>
81 <%= render :partial => "map", :object => @bug %>