views/days.erb in opsask-2.3.1 vs views/days.erb in opsask-2.3.2
- old
+ new
@@ -1,6 +1,7 @@
<div class="row">
- <% c = 12.0 / jiras_by_day.keys.length.to_f ; c = c.floor %>
+ <% c = 12.0 / jiras_by_day.keys.length.to_f %>
+ <% c = c > 12 ? 12 : c.floor %>
<% i = 0 %>
<% jiras_by_day.each do |date, jiras| %>
<div id="ops-queue-<%= i %>" class="ops-queue small-<%= c %> columns">
<h2>
<%= date %>
\ No newline at end of file