Skip to content

Commit

Permalink
Fix web view (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
benshippee authored and cryo28 committed Apr 15, 2016
1 parent 0032e99 commit 486c0ba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions web/views/statuses.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<th>Message</th>
<th>Actions</th>
</tr>
<% @statuses.each do |container| -%>
<% @statuses.each do |container| %>
<tr>
<td>
<a href="<%= to(:statuses) %>/<%= container.jid %>">
Expand All @@ -44,19 +44,19 @@
</div>
<td><%= container.message %></td>
<td>
<% if container.killable? -%>
<% if container.killable? %>
<a class="kill" href="<%= to(:statuses) %>/<%= container.jid %>/kill" onclick="return confirm('Are you sure?')">Kill</a>
<% elsif container.kill_requested? -%>
<% elsif container.kill_requested? %>
Kill requested
<% end %>
</td>
</tr>
<% end -%>
<% if @statuses.empty? -%>
<% end %>
<% if @statuses.empty? %>
<tr>
<td colspan="6"></td>
</tr>
<% end -%>
<% end %>
</table>


Expand Down

0 comments on commit 486c0ba

Please sign in to comment.