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.created_at %></td>
26 <th><%= t 'browse.bug.edited_at' %></th>
27 <td><%= l @bug.updated_at %></td>
29 <% if @bug.status == "closed" %>
31 <th><%= t 'browse.bug.closed_at' %></th>
32 <td><%= l @bug.closed_at %></td>
36 <th><%= t 'browse.bug.opened_by' %></th>
37 <% if @bug.author.nil? %>
38 <td> <%= @bug.author_name %> </td>
40 <td><%= link_to h(@bug.author_name), :controller => "user", :action => "view", :display_name => @bug.author_name %></td>
44 <th><%= t 'browse.bug.description' %></th>
45 <td><%= h(@bug.comments.first.body) %></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.author_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.body) %> </td>
72 <td> <%= l bug_comment.created_at %> </td>
81 <%= render :partial => "map", :object => @bug %>