retrospring/app/views/inbox/show.html.haml

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

16 lines
454 B
Text
Raw Normal View History

2022-09-08 00:43:28 +02:00
#entries
- @inbox.each do |i|
2023-02-05 18:06:48 +01:00
= render "inbox/entry", i:
2022-09-08 00:43:28 +02:00
- if @inbox.empty?
2023-12-10 21:56:23 +01:00
= render "shared/empty", type: "inbox"
2022-09-08 00:43:28 +02:00
- if @more_data_available
.d-flex.justify-content-center#paginator
2023-01-19 16:25:56 +01:00
= button_to t("voc.load"), inbox_path,
class: "btn btn-light",
method: :get,
params: { last_id: @inbox_last_id, author: @author }.compact,
data: { controller: :hotkey, hotkey: "." },
2023-01-19 16:25:56 +01:00
form: { data: { turbo_stream: true } }