mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 21:46:04 +01:00
ea0685136e
haha regexp go brrr special thanks to @seatsea for helping me out with the French locales
21 lines
810 B
Text
21 lines
810 B
Text
.card.userbox
|
|
%img.userbox__header{ src: current_user.profile_header.url(:mobile) }
|
|
.card-body
|
|
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
|
.profile__name
|
|
- unless current_user.display_name.blank?
|
|
.profile__display-name
|
|
= current_user.display_name
|
|
.profile__screen-name
|
|
= current_user.screen_name
|
|
- unless @list.nil?
|
|
.card
|
|
.card-header= t('views.list.members')
|
|
.card-body
|
|
- if @list.members.empty?
|
|
%p.text-muted No members yet.
|
|
- @list.members.each do |member|
|
|
%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) }
|
|
|
|
= render 'shared/links'
|