Added a few more tests
[rails.git] / app / views / issues / _reports.html.erb
index 0a55a59ec2717391712445725955faba12066f6e..2aff5dbc9a91d348bf7b646ee1df0be6e7914d6e 100644 (file)
@@ -1,11 +1,18 @@
 <% reports.each do |report| %>
        <div class="reports">
 <% reports.each do |report| %>
        <div class="reports">
-               <div class="display:inline">
-                       <%= user_thumbnail report.user %>
-                       <%= report.details %>
+               <div style="float:left">
+                       <%= link_to user_thumbnail(report.user), :controller => :user,:action =>:view, :display_name => report.user.display_name %>
                </div>
                </div>
-               <span class="deemphasize"><%= raw(t('Reported by:',:link_user => (link_to h(report.user.display_name), :controller => :user, :action => :view, :display_name => report.user.display_name), :comment_created_at => link_to(l(report.created_at,:format => :friendly)))) %>
-               on <%= l report.created_at.to_datetime, :format => :long %> </span>
+               <b><%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %></b> <br/>
+               <% details =  report.details.split("--||--") %>
+               <label>Tag:</label> 
+               <%= details[1] %>
+               <br/>
+               <%= details[0] %> 
+               <br/>
+               <br/>
+               <span class="deemphasize">
+               On <%= l report.created_at.to_datetime, :format => :long %> </span>
        </div>
        <hr>
 <% end %>
        </div>
        <hr>
 <% end %>