Permalink
Browse files

Previous commit missed a closing div. Adding closing div and minor fo…

…rmatting clean up.
  • Loading branch information...
1 parent 814c40f commit c52be42e85f23de729ece73c1c945dc4b1e4b416 Patrick Roby committed Dec 6, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 lib/qless/server/views/overview.erb
@@ -43,13 +43,15 @@
<% end %>
</div>
<div>
- <% failed.sort_by { |t, count| -count }.each do |t, count| %>
- <div class="row">
- <h3>| <%= count %> <small>Jobs</small></h3>
+ <% failed.sort_by { |t, count| -count }.each do |t, count| %>
+ <div class="row">
+ <h3>| <%= count %> <small>Jobs</small></h3>
+ </div>
+ <% end %>
</div>
- <% end %>
</div>
<% end %>
+
<% if tracked['jobs'].empty? %>
<div class="page-header">
<h1>No Tracked Jobs <small>These aren't the droids you're looking for</small></h1>
@@ -71,7 +73,6 @@
<% end %>
<% end %>
-
<% if workers.empty? %>
<div class="page-header">
<h1>No Workers <small>Nobody's doin' nothin'!</small></h1>

0 comments on commit c52be42

Please sign in to comment.