Sha256: ab00e70e6d82ad38e41f7933b38e0e50909706a206d7ac867daca41aad6a3714
Contents?: true
Size: 928 Bytes
Versions: 1
Compression:
Stored size: 928 Bytes
Contents
- all_testimonials = Testimonial.past.visible.local .widget.widget_testimonial .widget_title span = widget_header(widget) .widget_content - all_testimonials.in_groups(widget.counter, false) do |testimonials| .customer_testimonial_carousel_widget - testimonials.each do |testimonial| .customer_testimonial_item .customer_testimonial_info .photo = image_tag testimonial.testimonial_pic.try(:url, :medium) || 'author_photo.png', alt: testimonial.title .customer_testimonial_data strong = testimonial.name span = testimonial.country .customer_testimonial_content = simple_format "\"#{testimonial.content}\"" / = link_to I18n.t(:read_more, scope: [:sidebar, :testimonials]), testimonials_path = link_to I18n.t('sidebar.testimonials.all'), testimonials_path, class: 'button'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/cells/widgets/parts/_testimonials.html.slim |