Retrospring/app/views/timeline/timeline.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
705 B
Plaintext
Raw Normal View History

#timeline{ data: { controller: "navigation" } }
%button.d-none{ data: { hotkey: "j", action: "navigation#down" } }
%button.d-none{ data: { hotkey: "k", action: "navigation#up" } }
2023-12-10 12:56:48 -08:00
- if @timeline.empty?
= render "shared/empty", type: "timeline"
2020-04-25 09:23:02 -07:00
- @timeline.each do |answer|
= render "answerbox", a: answer
2020-04-25 09:23:02 -07:00
- 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 } }
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'