Skip to content

Commit

Permalink
Remove more virtual content
Browse files Browse the repository at this point in the history
  • Loading branch information
johanvdw committed Nov 24, 2024
1 parent 47466b7 commit 1d54e8d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 109 deletions.
62 changes: 0 additions & 62 deletions content/schedule/buildings.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,6 @@
title: Buildings
forcepagelinks: true
---
<% if @site.config.fetch(:virtual) %>
<p>
While a virtual FOSDEM does not have buildings, our conference management system expects them. So we reused them to group talks by their
type.
</p>
<p>
Find an overview below.
</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Building</th>
<th style="text-align: center;">Rooms</th>
</tr>
</thead>
<tbody>
<% $buildings.each do |building, rooms| %>
<tr>
<th class="title"><a name="<%= building.downcase %>"></a><%= building %></th>
<td>
<ul>
<% rooms.each do |room| %>
<li><%= l(room) %></li>
<% end %>
</ul>
</td>
</tr>
<% end %>
</tbody>
</table>
<% else %>
<p>
The various events are spread over several buildings (clusters of rooms)
over the campus.
Expand Down Expand Up @@ -68,34 +37,3 @@
<div class="map">
<img style="display: block; margin-left: auto; margin-right: auto" src="asset:campusmap" alt="ULB Solbosch Campus map" title="ULB Solbosch Campus map"}/>
</div>

<h1>Online</h1>
<p><b>Talks shown in rooms prefixed by D take place online.</b></p>
<p>(M.test holds live test data used before the event.)</p>

<% cols = $buildings.values.map{|list| list.size}.max %>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th></th>
<th style="text-align: center;" colspan="<%= cols %>">Online Rooms</th>
</tr>
</thead>
<tbody>
<% $buildings.reject{ |b| b =~ /^[^DMIS]/ }.each do |building, rooms| %>
<tr>
<th class="title"><a name="<%= building.downcase %>"></a><%= building %></th>
<% rooms.each do |room| %>
<td><%= l(room) %></td>
<% end %>
<% remainder = cols - rooms.size %>
<% if remainder > 0 %>
<td colspan="<%= remainder %>"></td>
<% end %>
</tr>
<% end %>
</tbody>
</table>


<% end %>
47 changes: 0 additions & 47 deletions content/schedule/rooms.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,50 +57,3 @@ <h2>Rooms Live in Brussels</h2>
</tbody>
</table>

<h2>Online Rooms</h2>
<p>The content in these remaining rooms is pre-recorded with interactive live Q&amp;A. Follow the links in each room to connect.</p>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th></th>
<th>Online Room</th>
<% days.each do |d| %>
<th><%= d[:title] %></th>
<% end %>
</tr>
</thead>
<tbody>
<%
$buildings.reject{ |b1| b1 =~ /^[^DM]/ }.each do |b, brooms|
#brooms = brooms.reject{|r| r[:events].empty?}.sort_by{|r| [r[:rank], r[:conference_room_id]]}
brooms = brooms.sort_by{|r| [r[:rank], r[:conference_room_id]]}
unless brooms.empty?
brooms.each_with_index do |r, i|
%>
<tr>
<% if i == 0 %>
<th class="building" rowspan="<%= brooms.size %>"><%= b %></th>
<% end %>
<td><%= l(r) %></td>
<%
days.each do |d|
dayevents = r[:events_by_day].fetch(d[:slug].to_sym, []).map(&$to_event)
%>
<% if dayevents.empty? %>
<td>-</td>
<% else %>
<%
first = dayevents.map{|e| e[:start_time]}.sort.first
last = dayevents.map{|e| e[:end_time]}.sort.last
daytracks = dayevents.map{|e| e[:track]}.uniq.map(&$to_track).sort_by{|t| [t[:start_time].fetch(d[:slug].to_sym), t[:rank], t[:conference_track_id]]}
%>
<td><%= first %>-<%= last %><% unless daytracks.empty? %>: <%= l daytracks, :name %><% end %></td>
<% end %>
<% end %>
</tr>
<% end %>
<% end %>
<% end %>
</tbody>
</table>

0 comments on commit 1d54e8d

Please sign in to comment.