2015-04-28 10:32:21 -04:00
|
|
|
<div class="col-md-3">
|
|
|
|
<ul class="list-group">
|
2015-04-28 10:35:42 -04:00
|
|
|
<li class="list-group-item text-right">
|
|
|
|
<span class="pull-left"><strong>Target:</strong></span>
|
|
|
|
<%= @username %>
|
|
|
|
</li>
|
2015-04-28 10:32:21 -04:00
|
|
|
<li class="list-group-item text-right">
|
|
|
|
<span class="pull-left"><strong>Kill Date:</strong></span>
|
2015-04-28 10:33:21 -04:00
|
|
|
<%= @first_negative.created_at.strftime('%H:%M on %m-%d-%Y') if @first_negative %>
|
2015-04-28 10:35:42 -04:00
|
|
|
</li>
|
2015-04-28 10:32:21 -04:00
|
|
|
<li class="list-group-item text-right">
|
|
|
|
<span class="pull-left"><strong>Killing Blow:</strong></span>
|
|
|
|
<%= @first_negative.attacker if @first_negative %>
|
|
|
|
</li>
|
|
|
|
<li class="list-group-item text-right">
|
|
|
|
<span class="pull-left"><strong>Soliders Killed:</strong></span>
|
2015-04-28 10:35:42 -04:00
|
|
|
<%= readable_number(@soldiers_killed) if @soldiers_killed %>
|
2015-04-28 10:32:21 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2015-04-28 10:26:23 -04:00
|
|
|
|
2015-04-28 11:02:17 -04:00
|
|
|
<div class="col-md-9">
|
|
|
|
<table class="table table-striped table-hover table-bordered table-condensed">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Attacker</td>
|
|
|
|
<td>Attempts</td>
|
|
|
|
<td>Soldiers Killed</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2015-04-28 11:36:17 -04:00
|
|
|
<% @contributors.each do |contributor| %>
|
2015-04-28 11:02:17 -04:00
|
|
|
<tr>
|
2015-04-28 11:36:17 -04:00
|
|
|
<td><%= contributor[:username] %></td>
|
|
|
|
<td class="text-right"><%= contributor[:attacks] %></td>
|
|
|
|
<td class="text-right"><%= readable_number(contributor[:lost]) %></td>
|
2015-04-28 11:02:17 -04:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-04-28 10:32:21 -04:00
|
|
|
</div>
|