Add better capacity for live lectures
This commit is contained in:
@@ -60,7 +60,8 @@
|
||||
class: 'action-button'
|
||||
%>
|
||||
<% elsif lecture.start_time.past? && !lecture.attended? %>
|
||||
<%= button_to "Start",
|
||||
<% start_label = if lecture.is_live? then "Join" else "Start" end %>
|
||||
<%= button_to start_label,
|
||||
lectures_start_path(id: lecture.id),
|
||||
class: 'action-button'
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user