biovision-testimonials 0.1.190607.0 → 0.1.190607.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04dbe4182f37f95eae75007c80d99af7891f5d128c5c3e9cf929c3a964177744
4
- data.tar.gz: 9f779904e931a94daf4ed890947eb60a0164400ff5e620d3d7329ffe10679636
3
+ metadata.gz: 7122ecc8b408853b6c842c6611d8bd0f13af26b0c9e5d8ae11748de54bf726d2
4
+ data.tar.gz: 6034945354b92444eb62becdae7cc0adced6dc680193e3bbf779281af0b2a98a
5
5
  SHA512:
6
- metadata.gz: 6d7ba86757d9a78e44d92deb19d0615af2e62c97c2b92d289858a32ee39ba44bec4366bfee4026663eec0269c7284ca276ff56e7680c361ed4a5981663363c88
7
- data.tar.gz: 78a0a67991366788c625d1a59535dddf7f5293666090419b7b8dcf808cd203dc9283c8c549b1809bc08dbd76b745ce1f84fb0bc1737fa74243e3ff7428495c9d
6
+ metadata.gz: 80130c1740f0c9cdda3c7273fd30aebb2efeabbdc97bfd15700f13ba626357704681fb6af5b42d4737f8a8bb9520f28ff5e9ead02be78f980fdf256131f783be
7
+ data.tar.gz: '0950d4ed96f8beb37e77154d9e8fa9e4791c7837d8b29e934eab645a59fa4fad5614d55f04bea26f1d823f417ce93b8275e706b651bcc76e359196a1acc2db70'
@@ -1,4 +1,7 @@
1
- <% collection = Testimonial.list_for_visitors %>
1
+ <%
2
+ collection = Testimonial.list_for_visitors
3
+ timeout ||= 0
4
+ %>
2
5
  <% if collection.load.any? %>
3
6
  <section class="index-testimonials">
4
7
  <h2><%= t('.heading') %></h2>
@@ -7,7 +10,8 @@
7
10
  render(
8
11
  partial: 'testimonials/carousel',
9
12
  locals: {
10
- collection: collection
13
+ collection: collection,
14
+ timeout: timeout
11
15
  }
12
16
  )
13
17
  %>
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  collection ||= Testimonial.list_for_visitors
3
- timeout ||= 3000
3
+ timeout ||= 0
4
4
  %>
5
5
  <% if collection.any? %>
6
6
  <div class="js-biovision-carousel testimonials-carousel" data-timeout="<%= timeout %>">
@@ -1,9 +1,9 @@
1
- <div>
1
+ <div itemprop="review" itemscope itemtype="http://schema.org/Review">
2
2
  <figure>
3
- <figcaption><%= testimonial.name %></figcaption>
4
- <blockquote>
3
+ <figcaption itemprop="author"><%= testimonial.name %></figcaption>
4
+ <blockquote itemprop="reviewBody">
5
5
  <%= simple_format(testimonial.text) %>
6
6
  </blockquote>
7
7
  </figure>
8
- <%= time_tag testimonial.date %>
8
+ <%= time_tag(testimonial.date, itemprop: 'datePublished') %>
9
9
  </div>
@@ -53,5 +53,5 @@ ru:
53
53
  success: "Отзыв успешно отредактирован"
54
54
  index:
55
55
  dashboard:
56
- biovision_partners:
56
+ biovision_testimonials:
57
57
  heading: "Отзывы"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Biovision
4
4
  module Testimonials
5
- VERSION = '0.1.190607.0'
5
+ VERSION = '0.1.190607.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biovision-testimonials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.190607.0
4
+ version: 0.1.190607.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Khan-Magomedov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
11
+ date: 2019-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -129,7 +129,7 @@ files:
129
129
  - app/views/admin/testimonials/entity/_in_list.html.erb
130
130
  - app/views/admin/testimonials/index.html.erb
131
131
  - app/views/admin/testimonials/show.html.erb
132
- - app/views/index/dashboard/_biovision_partners.html.erb
132
+ - app/views/index/dashboard/_biovision_testimonials.html.erb
133
133
  - app/views/testimonials/_carousel.html.erb
134
134
  - app/views/testimonials/_form.html.erb
135
135
  - app/views/testimonials/_testimonial.html.erb