Skip to content

Commit

Permalink
Fix if only one bof room
Browse files Browse the repository at this point in the history
  • Loading branch information
johanvdw committed Nov 4, 2024
1 parent df77dbf commit 5c47b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h3>Stands<h3>
</p>
<div class="container-fluid">
<div class="row-fluid">
<% standtracks.sort_by{|x| x[:title].downcase}.each_slice((standtracks.size / columns).ceil) do |list| %>
<% standtracks.sort_by{|x| x[:title].downcase}.each_slice((standtracks.size.to_f / columns).ceil) do |list| %>
<div class="span<%= 9 / columns %>">
<ul>
<% list.each do |t| %>
Expand Down Expand Up @@ -314,7 +314,7 @@ <h3>BOFs<h3>
<% unless boftracks.empty? %>
<div class="container-fluid">
<div class="row-fluid">
<% boftracks.sort_by{|x| x[:title].downcase}.each_slice((boftracks.size / columns).ceil) do |list| %>
<% boftracks.sort_by{|x| x[:title].downcase}.each_slice((boftracks.size.to_f / columns).ceil) do |list| %>
<div class="span<%= 9 / columns %>">
<ul>
<% list.each do |t| %>
Expand Down

0 comments on commit 5c47b12

Please sign in to comment.