- if (!is_remotestory) || (is_remotestory && member.remote_story) .col-xl-2.col-lg-2.col-md-3.col-sm-4.col-xs-12.member{class: ("pet" if is_pet), id: anchor, data: { departments: member.departments }} .card .front - photo = image_tag "/images/team#{is_pet ? '/pets' : ''}/#{member.picture}", alt: member.name, width: 120, height: 120 - if anchor = link_to photo, "##{anchor}", class: 'member-id', 'data-twitter': member.twitter ? "##{member.twitter}" : nil - else = photo %h3 = member.name - if member.locality || member.country - location = [member.locality, member.country].compact.join(", ") %h5 = link_to "https://maps.google.com?q=#{location}" do = location = member.country_info&.emoji_flag %h4.role = member.role - if member.specialty %h5 = member.specialty = link_to 'Specialist', '/company/team/structure/#specialist' - if is_remotestory && member.remote_story .assignments.font-small.margin-top20 .expertise.font-small = member.remote_story - if !is_remotestory .assignments.font-small.margin-top20 - if member.assignments.to_a.any? %ul - member.assignments.each do |assignment| %li = link_to assignment.responsibility_label.capitalize, "/handbook/engineering/workflow/code-review/##{assignment.responsibility_anchor}" of = link_to assignment.project.name, assignment.project.link - if assignment.description? = "(#{assignment.description})" .expertise.font-small - if member.expertise %ul = member.expertise .social - if member.twitter %a{href: "https://twitter.com/#{member.twitter}"} %span.sr-only Twitter %i.fab.fa-twitter - if member.gitlab %a{href: "https://gitlab.com/#{member.gitlab}"} %span.sr-only GitLab = partial "includes/logos/logo_sq.svg" .extra = partial "includes/team/member_detail", locals: {member: member, is_pet: is_pet || false}