Skip to content
Snippets Groups Projects
Verified Commit 42a21fd0 authored by Felix Eckhofer's avatar Felix Eckhofer :man_dancing:
Browse files

Keep stage names and times in view

parent 718a4c73
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ current_time = Time.zone.now.in_time_zone(@conference.time_zone)
=end %>
<div class="day-wrapper flex relative">
<div class="times" style="">
<div class="times sticky left-0 bg-white bg-opacity-70 z-20">
<h4>Time</h4>
<% # if current_time.strftime('%Y%m%d') == date.strftime('%Y%m%d') && current_time >= timeline_starts_at && current_time <= timeline_ends_at
%>
......@@ -128,7 +128,7 @@ current_time = Time.zone.now.in_time_zone(@conference.time_zone)
<% @sessions_by_date_and_stage[date].each do |stage, sessions| %>
<div class="stage">
<h4><%= stage.name %></h4>
<h4 class="sticky top-0 bg-white bg-opacity-70 w-full z-30"><%= stage.name %></h4>
<div class="stage-sessions">
<% sessions.each do |session| %>
<div class="session-holder hover:z-30 h-full" style="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment