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-04 20:24:32 +02:00
|
|
|
|
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-04 20:24:32 +02:00
|
|
|
|
2022-09-08 00:43:28 +02:00
|
|
|
- if @more_data_available
|
2022-10-25 21:52:58 +02:00
|
|
|
.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,
|
2023-03-19 14:42:01 +01:00
|
|
|
data: { controller: :hotkey, hotkey: "." },
|
2023-01-19 16:25:56 +01:00
|
|
|
form: { data: { turbo_stream: true } }
|