app/views/peoplefinder/people/_person.html.haml in peoplefinder-0.0.2 vs app/views/peoplefinder/people/_person.html.haml in peoplefinder-0.1.0

- old
+ new

@@ -1,23 +1,24 @@ .search-result .grid-wrapper .grid.grid-2-3 .inner-block .image-background - = image_tag person.image.medium + = profile_image_tag person, person.image.medium .details %h3= link_to person.name, person - if person.memberships.empty? .meta - else - person.memberships.each do |membership| .meta = "#{ membership.role }, " if membership.role? = link_to membership.group, membership.group + - if feature_enabled?("communities") && person.community.present? + .meta.community= link_to person.community, search_path(query: person.community.name) .meta= person.phone - .meta - = mail_to(person.email) + .meta= mail_to(person.email) - if edit_link .grid.grid-1-3 .inner-block.edit-link = link_to 'Edit this profile', edit_person_path(person)