2015-05-14 00:02:19 +02:00
|
|
|
- provide(:title, user_title(@user, "friends and followers"))
|
2014-12-19 21:49:48 +01:00
|
|
|
.profile--header
|
2014-12-08 17:03:06 +01:00
|
|
|
.container.j2-page
|
2015-02-05 15:20:41 +01:00
|
|
|
.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
2014-12-08 17:03:06 +01:00
|
|
|
= render 'user/profile_info'
|
|
|
|
.hidden-xs= render 'shared/links'
|
2015-02-05 15:20:41 +01:00
|
|
|
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
|
2014-12-20 00:03:07 +01:00
|
|
|
%h1.j2-lh.hidden-xs= @title
|
|
|
|
%h1.visible-xs= @title
|
2014-12-08 17:03:06 +01:00
|
|
|
#users
|
|
|
|
- @users.each do |user|
|
|
|
|
.col-sm-6
|
|
|
|
= render 'shared/userbox', user: user
|
|
|
|
|
|
|
|
#pagination= will_paginate @users, renderer: BootstrapPagination::Rails, page_links: false
|
|
|
|
|
|
|
|
- if @users.next_page
|
|
|
|
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @users.current_page }}
|
|
|
|
Load more
|
|
|
|
.visible-xs= render 'shared/links'
|
2015-01-14 07:07:40 +01:00
|
|
|
- if user_signed_in?
|
2015-05-10 19:48:47 +02:00
|
|
|
= render 'user/modal_group_memberships'
|