2020-05-01 18:55:18 +02:00
|
|
|
.card.userbox
|
2020-05-10 10:02:04 +02:00
|
|
|
%img.userbox__header{ src: current_user.profile_header.url(:mobile) }
|
2020-04-19 23:09:41 +02:00
|
|
|
.card-body
|
2020-05-10 10:02:04 +02:00
|
|
|
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
2020-05-01 18:55:18 +02:00
|
|
|
.profile__name
|
|
|
|
- unless current_user.display_name.blank?
|
|
|
|
.profile__display-name
|
2020-05-01 19:29:05 +02:00
|
|
|
= current_user.display_name
|
2020-05-01 18:55:18 +02:00
|
|
|
.profile__screen-name
|
|
|
|
= current_user.screen_name
|
2020-05-25 18:04:54 +02:00
|
|
|
- unless @list.nil?
|
2020-05-05 04:31:15 +02:00
|
|
|
.card
|
2020-05-25 18:04:54 +02:00
|
|
|
.card-header= t('views.list.members')
|
2020-04-19 23:09:41 +02:00
|
|
|
.card-body
|
2020-05-25 18:04:54 +02:00
|
|
|
- if @list.members.empty?
|
|
|
|
%p.text-muted No members yet.
|
|
|
|
- @list.members.each do |member|
|
2020-05-10 10:02:04 +02: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 19:13:09 +01:00
|
|
|
|
2020-04-26 16:25:54 +02:00
|
|
|
= render 'shared/links'
|