assets/result.html.erb in rails_best_practices-1.5.2 vs assets/result.html.erb in rails_best_practices-1.5.3

- old
+ new

@@ -71,11 +71,14 @@ <table> <tr> <th>Filename</th> <th>Line Number</th> <th>Warning Message</th> - <% if @git %> + <% if @hg %> + <th>Hg Commit</th> + <th>Hg Username</th> + <% elsif @git %> <th>Git Commit</th> <th>Git Username</th> <% end %> </tr> <% @errors.each do |error| %> @@ -91,10 +94,13 @@ </td> <td class='line'><%= error.line_number %></td> <td class='message'> <a href='<%= error.url %>' target='_blank'><%= error.message %></a> </td> - <% if @git %> + <% if @hg %> + <td class='hg_commit'><%= error.hg_commit %></td> + <td class='hg_usename'><%= error.hg_username %></td> + <% elsif @git %> <td class='git_commit'><%= error.git_commit %></td> <td class='git_usename'><%= error.git_username %></td> <% end %> </tr> <% end %>