mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 20:26:04 +01:00
11 lines
372 B
Text
11 lines
372 B
Text
= turbo_stream.append "entries" do
|
|
- @inbox.each do |i|
|
|
= render "inbox/entry", services:, i:
|
|
|
|
= turbo_stream.update "paginator" do
|
|
- if @more_data_available
|
|
= button_to t("voc.load"), inbox_path,
|
|
class: "btn btn-light",
|
|
method: :get,
|
|
params: { last_id: @inbox_last_id, author: @author }.compact,
|
|
form: { data: { turbo_stream: true } }
|