2020-05-10 00:08:58 -07:00
|
|
|
.row.row-cols-1.row-cols-sm-2.row-cols-md-3#users
|
2020-04-25 08:21:39 -07:00
|
|
|
- @users.each do |user|
|
2020-05-30 18:33:03 -07:00
|
|
|
.col.pb-3
|
2020-05-10 01:02:04 -07:00
|
|
|
= render 'shared/userbox', user: user, type: @type
|
2020-04-25 08:21:39 -07:00
|
|
|
|
2022-06-18 08:29:23 -07:00
|
|
|
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @relationships_last_id
|
2020-04-25 08:21:39 -07:00
|
|
|
|
|
|
|
- if @more_data_available
|
2020-05-29 14:00:25 -07:00
|
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
2022-06-18 08:29:23 -07:00
|
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @relationships_last_id } }
|
2022-07-30 09:50:46 -07:00
|
|
|
= t("voc.load")
|
2020-04-25 08:21:39 -07:00
|
|
|
|
2020-05-10 00:08:58 -07:00
|
|
|
- provide(:title, user_title(@user, 'friends and followers'))
|
|
|
|
- parent_layout 'user/profile'
|