Sha256: 2943f106926ee10c06382b2329d80f7c0fb813eeee18dbfec8acdc3bcc5b7e3a

Contents?: true

Size: 854 Bytes

Versions: 2

Compression:

Stored size: 854 Bytes

Contents

.section.customers_testimonials
  .customers_testimonials_heading = @structure.title
  .section_content
    .customer_testimonial_carousel
      - @testimonials.limit(10).each do |testimonial|
        .customer_testimonial_item
          .customer_testimonial_info
            .photo
              = image_tag testimonial.testimonial_pic.try(:url, :medium) || 'author_photo.png'
            .customer_testimonial_data
              strong = testimonial.name
              span = testimonial.country
            .customer_testimonial_content
              p = "\"#{testimonial.content.try(:truncate, 470)}\""
              = link_to I18n.t(:read_more_testimonials, scope: [:layout, :button]), search_testimonials_path(testimonial), class: 'read_more'
    = link_to I18n.t(:more_testimonials, scope: [:layout, :button]), testimonials_path, class: 'button'

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/cells/composite/company_testimonials.html.slim
translation_cms-0.1.5 app/cells/composite/welcome_customers_testimonials.html.slim