Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .row-with-divider
- .col-12
- .listing-author
- .listing-author-avatar
- = medium_avatar_thumb(@listing.author, {:class => "listing-author-avatar-image"})
- .listing-author-details
- .listing-author-name
- = link_to @listing.author.name(@current_community), @listing.author, :id => "listing-author-link", :class => "listing-author-name-link", :title => "#{@listing.author.name(@current_community)}"
- - if @listing.author != @current_user
- .listing-author-contact
- %a#listing-contact{href: contact_to_listing_path(:listing_id => @listing.id.to_s), :class => "listing-author-contact-button"}
- .content
- = t(".contact")
- - if @current_community.testimonials_in_use && received_testimonials.size > 0
- .row-with-divider.listing-author-activity
- .col-12
- %i.listing-author-activity-icon{:class => icon_class("testimonial")}
- .listing-author-activity-item
- .listing-author-activity-value
- - if received_testimonials.size > 0
- = feedback_positive_percentage.to_s + "%"
- = t("people.show.positive")
- = "(#{received_positive_testimonials.size}/#{received_testimonials.size})"
- - else
- = t(".no_reviews")
- .listing-author-activity-description
- = t(".feedback")
- - if @listing.origin_loc && @listing.origin_loc.address != ""
- .row
- .col-12
- #googlemap
- = render :partial => "googlemap", :locals => { :listing => @listing}
- = render :partial => "origin", :locals => { :origin_loc => @listing.origin_loc }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement