Skip to content

Commit

Permalink
tidying code
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcmichael committed Oct 27, 2016
1 parent 19bb2b1 commit 8bd9776
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions app/views/clusters/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
<% if index == OODClusters.size - 1 && OODClusters.size.odd? %>
<div class="col-sm-3"></div>
<% end %>
<div class="col-sm-6 col-xs-12">
<%= link_to(cluster_path(key)) do %>
<div class="panel panel-default bs-callout bs-callout-info text-center panel-clickable">
<h4><strong><%= cluster.title %> Cluster Status</strong></h4>
<%= render partial: 'node_status', locals: { showqer: MoabShowqClient.new(cluster).setup } %>
</div>
<% end %>
</div>


<div class="col-sm-6 col-xs-12">
<%= link_to(cluster_path(key)) do %>
<div class="panel panel-default bs-callout bs-callout-info text-center panel-clickable">
<h4><strong><%= cluster.title %> Cluster Status</strong></h4>
<%= render partial: 'node_status', locals: { showqer: MoabShowqClient.new(cluster).setup } %>
</div>
<% end %>
</div>
<% end %>

0 comments on commit 8bd9776

Please sign in to comment.