Fixed a couple of things missing from result displays
This commit is contained in:
parent
b8bec03357
commit
f0115847b8
@ -3,4 +3,8 @@ class Result < Sequel::Model
|
||||
many_to_one :hardware
|
||||
many_to_one :benchmark
|
||||
|
||||
def formatted_score()
|
||||
return self.score
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -15,8 +15,8 @@
|
||||
<tbody>
|
||||
<% results.each do |r| %>
|
||||
<tr>
|
||||
<td><%= r.hardware %></td>
|
||||
<td><%= r.benchmark %></td>
|
||||
<td><%= r.hardware.name %></td>
|
||||
<td><%= r.benchmark.name %></td>
|
||||
<td><%= r.formatted_score() %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user