templates/index.html.ep
changeset 26 debc3c566994
parent 24 b69b7aa98a1d
child 29 006e82a1bcd0
--- a/templates/index.html.ep	Thu Jul 31 00:05:00 2014 +0200
+++ b/templates/index.html.ep	Sat Aug 02 23:48:50 2014 +0200
@@ -3,14 +3,22 @@
 %= t table => (class => 'table table-striped table-bordered table-condensed') => begin
 <thead>
   <tr>
-    <th>Signature</th>
+    <th>Product</th>
+    <th>Version</th>
+    <th>UserID</th>
+    <th>UUID</th>
     <th>Date</th>
   </tr>
 </thead>
-% foreach my $file(@$files) {
+% foreach my $crash(@$files) {
 <tr>
-  <td><%= link_to $file->{uuid} => url_for('report', uuid => $file->{uuid}) =%></td>
-  %= t td => POSIX::strftime("%F %T", localtime($file->{date}))
+  %= t td => $crash->{product}
+  %= t td => $crash->{version}
+  %= t td => $crash->{user}
+  %= t td => (style => "font-family:monospace;") => begin
+    %= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid})
+  % end
+  %= t td => $crash->{date}->strftime("%F %T")
 </tr>
 % }
 % end