2020-05-01 09:55:18 -07:00
|
|
|
.card.userbox
|
2020-05-10 01:02:04 -07:00
|
|
|
%img.userbox__header{ src: current_user.profile_header.url(:mobile) }
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2020-05-10 01:02:04 -07:00
|
|
|
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
2020-05-01 09:55:18 -07:00
|
|
|
.profile__name
|
|
|
|
- unless current_user.display_name.blank?
|
|
|
|
.profile__display-name
|
2020-05-01 10:29:05 -07:00
|
|
|
= current_user.display_name
|
2020-05-01 09:55:18 -07:00
|
|
|
.profile__screen-name
|
|
|
|
= current_user.screen_name
|
2015-01-17 10:13:09 -08:00
|
|
|
- unless @group.nil?
|
2020-05-04 19:31:15 -07:00
|
|
|
.card
|
|
|
|
.card-header= t('views.group.members')
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2020-05-04 19:31:15 -07:00
|
|
|
- if @group.members.empty?
|
|
|
|
%p.text-muted No members yet!
|
2015-01-17 10:13:31 -08:00
|
|
|
- @group.members.each do |member|
|
2020-05-10 01:02:04 -07:00
|
|
|
%a{ href: show_user_profile_path(member.user.screen_name), title: member.user.screen_name, data: { toggle: :tooltip, placement: :top } }
|
|
|
|
%img.avatar-xs{ src: member.user.profile_picture.url(:medium) }
|
2015-01-17 10:13:09 -08:00
|
|
|
|
2020-04-26 07:25:54 -07:00
|
|
|
= render 'shared/links'
|