Skip to content

Commit

Permalink
Resolve typos in render_note.typ.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacoles committed Dec 9, 2024
1 parent 2c0a512 commit b8147c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formats/typst/render_note.typ.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
#chat(broadcast: <%= note.broadcast %>, <%= render_markdown note.content %>)
<% when BCF::FlightPlans::SendIntoBOR %>
<% unless note.no_output %>
<% breakout = find_breakout_room(note.bor_id) %>)
<% breakout = find_breakout_room(note.bor_id) %>
#instruction("Send into BORs")
<% if breakout.notify_halfway %>
#instruction("Broadcast halfway message")

<% if breakout.halfway_message.is_a? String %>
#chat(broadcast: true, "<%= breakout.halfway_message.sub('%', breakout.default_duration / 2) %>")
<% elsif breakout.halfway_messagebreakout.halfway_message %>
<% elsif breakout.halfway_message %>
#chat(broadcast: true, "Halfway, <%= breakout.default_duration / 2 %> minutes remaining")
<% end %>
<% end %>
Expand Down

0 comments on commit b8147c7

Please sign in to comment.