]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/show.html.erb
Added IssueComments + ForeignKeys + Indexes
[rails.git] / app / views / issues / show.html.erb
index d756595cf9335f6123c908cf6a660a2055923336..abbe0fa985fb3626aa1a9d3f99dacdbfeffaf2ee 100644 (file)
@@ -11,7 +11,6 @@
        <p><%= link_to "Ignore", ignore_issue_url(@issue), :method => :post if @issue.may_ignore? %></p>
        <p><%= link_to "Reopen", reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %></p>
 <% end %>
-
 <h3>Reports under this issue:</h3>
 
 <% if @read_reports.present? %>
@@ -27,3 +26,8 @@
                <%= render 'reports',reports: @unread_reports %>
        </div>
 <% end %>      
+<br/>
+<h3>Comments on this issue:</h3>
+       <div class="unread-reports">
+               <%= render 'comments', comments: @comments %>
+       </div>