2023-03-05 08:17:02 -08:00
|
|
|
#timeline{ data: { controller: "navigation" } }
|
|
|
|
%button.d-none{ data: { hotkey: "j", action: "navigation#down" } }
|
|
|
|
%button.d-none{ data: { hotkey: "k", action: "navigation#up" } }
|
2020-04-25 09:23:02 -07:00
|
|
|
- @timeline.each do |answer|
|
2023-11-07 13:40:37 -08:00
|
|
|
= render "answerbox", a: answer, subscribed_answer_ids: @subscribed_answer_ids, reacted_answer_ids: @reacted_answer_ids
|
2020-04-25 09:23:02 -07:00
|
|
|
|
2020-05-08 19:51:14 -07:00
|
|
|
- if @more_data_available
|
2022-10-25 12:52:58 -07:00
|
|
|
.d-flex.justify-content-center#paginator
|
2023-01-21 10:11:05 -08:00
|
|
|
= button_to t("voc.load"), request.path,
|
|
|
|
class: "btn btn-light",
|
|
|
|
method: :get,
|
|
|
|
params: { last_id: @timeline_last_id },
|
2023-03-19 06:42:01 -07:00
|
|
|
data: { controller: :hotkey, hotkey: "." },
|
2023-01-21 10:11:05 -08:00
|
|
|
form: { data: { turbo_stream: true } }
|
2020-04-25 09:23:02 -07:00
|
|
|
|
2022-07-21 06:57:12 -07:00
|
|
|
- provide(:title, @title || APP_CONFIG["site_name"])
|
2020-05-09 23:40:32 -07:00
|
|
|
- parent_layout 'feed'
|