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 +4 -4
- data/app/views/index/dashboard/{_biovision_partners.html.erb → _biovision_testimonials.html.erb} +6 -2
- data/app/views/testimonials/_carousel.html.erb +1 -1
- data/app/views/testimonials/_testimonial.html.erb +4 -4
- data/config/locales/testimonials-ru.yml +1 -1
- data/lib/biovision/testimonials/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7122ecc8b408853b6c842c6611d8bd0f13af26b0c9e5d8ae11748de54bf726d2
|
4
|
+
data.tar.gz: 6034945354b92444eb62becdae7cc0adced6dc680193e3bbf779281af0b2a98a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80130c1740f0c9cdda3c7273fd30aebb2efeabbdc97bfd15700f13ba626357704681fb6af5b42d4737f8a8bb9520f28ff5e9ead02be78f980fdf256131f783be
|
7
|
+
data.tar.gz: '0950d4ed96f8beb37e77154d9e8fa9e4791c7837d8b29e934eab645a59fa4fad5614d55f04bea26f1d823f417ce93b8275e706b651bcc76e359196a1acc2db70'
|
data/app/views/index/dashboard/{_biovision_partners.html.erb → _biovision_testimonials.html.erb}
RENAMED
@@ -1,4 +1,7 @@
|
|
1
|
-
<%
|
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,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
|
8
|
+
<%= time_tag(testimonial.date, itemprop: 'datePublished') %>
|
9
9
|
</div>
|
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.
|
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-
|
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/
|
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
|