Added a few more tests
[rails.git] / app / views / issues / _reports.html.erb
index c5dbcb9b50bdb36019e198ec8d9592fbd6282da7..2aff5dbc9a91d348bf7b646ee1df0be6e7914d6e 100644 (file)
@@ -4,14 +4,12 @@
                        <%= link_to user_thumbnail(report.user), :controller => :user,:action =>:view, :display_name => report.user.display_name %>
                </div>
                <b><%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %></b> <br/>
-               <% details =  report.details.split("||") %>
-               <%= details[0] %> 
+               <% details =  report.details.split("--||--") %>
+               <label>Tag:</label> 
+               <%= details[1] %>
                <br/>
+               <%= details[0] %> 
                <br/>
-               <label>Tags:</label> 
-               <% details[1..(details.size-1)].each do |tags| %>
-                       <%= tags %>
-               <% end %>
                <br/>
                <span class="deemphasize">
                On <%= l report.created_at.to_datetime, :format => :long %> </span>