add deletion column to promotion report

This commit is contained in:
r888888888
2014-07-01 15:06:19 -07:00
parent bc912ecd00
commit e86c8ceb2a
3 changed files with 13 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
<th data-sort="string">Age</th>
<th data-sort="int">score:3+</th>
<th data-sort="int">score:6+</th>
<th data-sort="int">deletion</th>
</tr>
</thead>
<tbody>
@@ -26,6 +27,7 @@
<td data-sort-value="<%= user.created_at.to_formatted_s(:db) %>"><%= time_ago_in_words user.created_at %></td>
<td><%= number_to_percentage user.confidence_interval_for(3), :precision => 0 %></td>
<td><%= number_to_percentage user.confidence_interval_for(6), :precision => 0 %></td>
<td><%= number_to_percentage user.deletion_confidence_interval, :precision => 0 %></td>
</tr>
<% end %>
<% end %>