Skip to content

Commit

Permalink
Correctly use number of columns for devrooms
Browse files Browse the repository at this point in the history
  • Loading branch information
johanvdw committed Oct 24, 2024
1 parent b2bfaa2 commit 95d7585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ <h3><a name="devrooms"></a>Developer rooms</h3>
<div class="container-fluid">
<div class="row-fluid">
<% columns = [columns, devrooms.size].min %>
<% devrooms.sort_by{|x| x[:rank]}.each_slice((devrooms.size / columns).ceil) do |list| %>
<% devrooms.sort_by{|x| x[:rank]}.each_slice((devrooms.size.to_f / columns).ceil) do |list| %>
<div class="span<%= 9 / columns %>">
<ul>
<% list.each do |t| %>
Expand Down

0 comments on commit 95d7585

Please sign in to comment.