mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:09:52 +01:00
20 lines
705 B
Text
20 lines
705 B
Text
#timeline{ data: { controller: "navigation" } }
|
|
%button.d-none{ data: { hotkey: "j", action: "navigation#down" } }
|
|
%button.d-none{ data: { hotkey: "k", action: "navigation#up" } }
|
|
- if @timeline.empty?
|
|
= render "shared/empty", type: "timeline"
|
|
|
|
- @timeline.each do |answer|
|
|
= render "answerbox", a: answer
|
|
|
|
- if @more_data_available
|
|
.d-flex.justify-content-center#paginator
|
|
= button_to t("voc.load"), request.path,
|
|
class: "btn btn-light",
|
|
method: :get,
|
|
params: { last_id: @timeline_last_id },
|
|
data: { controller: :hotkey, hotkey: "." },
|
|
form: { data: { turbo_stream: true } }
|
|
|
|
- provide(:title, @title || APP_CONFIG["site_name"])
|
|
- parent_layout 'feed'
|