.search-result
  .grid-wrapper
    .grid
      .inner-block
        .image-background
          = profile_image_tag person
        .details
          - index = person_iteration.index
          %h3= link_to person.name, person,
            search_result ? { data: search_result_analytics_attributes(index) } : {}
          - if person.memberships.empty?
            .meta
          - else
            - person.memberships.each do |membership|
              .meta
                = "#{ membership.role }, " if membership.role?
                = link_to membership.group.short_name, membership.group,
                  search_result ? { data: search_result_analytics_attributes(index) } : {}

          - if feature_enabled?("communities") && person.community.present?
            .meta.community= link_to person.community, search_path(query: person.community.name)
          .meta= call_to(person.phone)
          .meta= mail_to(person.email, nil, data: search_result_analytics_attributes(index) )


.search-result
  .grid-wrapper
    .grid
      .inner-block
        .image-background
          = profile_image_tag person
        .details
          - index = person_iteration.index
          %h3= link_to person.name, person,
            search_result ? { data: search_result_analytics_attributes(index) } : {}
          - if person.memberships.empty?
            .meta
          - else
            - person.memberships.each do |membership|
              .meta
                = "#{ membership.role }, " if membership.role?
                = link_to membership.group.name, membership.group,
                  search_result ? { data: search_result_analytics_attributes(index) } : {}

          - if feature_enabled?("communities") && person.community.present?
            .meta.community= link_to person.community, search_path(query: person.community.name)
          .meta= call_to(person.phone)
          .meta= mail_to(person.email, nil, data: search_result_analytics_attributes(index) )


Use full team name in person search result
Use full team name in person search result
