2022-09-08 00:48:01 +02:00
|
|
|
.row.row-cols-1.row-cols-sm-2.row-cols-md-3#users
|
|
|
|
- @users.each do |user|
|
|
|
|
.col.pb-3
|
2023-02-01 23:20:49 +01:00
|
|
|
= render "shared/userbox", user:, type:, own_followings:, own_blocks:, own_mutes:
|
2020-04-25 17:21:39 +02:00
|
|
|
|
2022-09-08 00:48:01 +02:00
|
|
|
- if @more_data_available
|
|
|
|
.d-flex.justify-content-center.justify-content-sm-start#paginator
|
2023-01-28 19:02:13 +01:00
|
|
|
= button_to t("voc.load"), type == :follower ? show_user_followers_path(@user) : show_user_followings_path(@user),
|
2023-01-21 19:53:27 +01:00
|
|
|
class: "btn btn-light",
|
|
|
|
method: :get,
|
|
|
|
params: { last_id: @relationships_last_id },
|
2023-03-19 14:42:01 +01:00
|
|
|
data: { controller: :hotkey, hotkey: "." },
|
2023-01-21 19:53:27 +01:00
|
|
|
form: { data: { turbo_stream: true } }
|
2020-04-25 17:21:39 +02:00
|
|
|
|
2023-01-28 19:02:13 +01:00
|
|
|
- provide(:title, t(".title.#{type}", user: @user.profile.safe_name))
|
2023-01-28 19:09:03 +01:00
|
|
|
- parent_layout "user/profile"
|