spree_product_testimonials 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@
|
|
8
8
|
<div class='toolbar'>
|
9
9
|
<ul class='actions'>
|
10
10
|
<li id="new_testimonial_link">
|
11
|
-
<%= button_link_to t("new_testimonial"),
|
11
|
+
<%= button_link_to t("product_testimonials.new_testimonial"),
|
12
12
|
new_object_url,
|
13
13
|
{:remote => :true, :icon => 'add' } %>
|
14
14
|
</li>
|
@@ -17,14 +17,14 @@
|
|
17
17
|
</div>
|
18
18
|
<div id="new_testimonial"></div>
|
19
19
|
|
20
|
-
<h1><%= t("testimonials") %></h1>
|
20
|
+
<h1><%= t("product_testimonials.testimonials") %></h1>
|
21
21
|
<table class="index">
|
22
22
|
<thead>
|
23
23
|
<%= hook :admin_testimonials_index_headers do %>
|
24
|
-
<th><%= t("name") %></td>
|
25
|
-
<th><%= t("description") %></td>
|
26
|
-
<th><%= t("location") %></td>
|
27
|
-
<th><%= t("featured") %></td>
|
24
|
+
<th><%= t("product_testimonials.name") %></td>
|
25
|
+
<th><%= t("product_testimonials.description") %></td>
|
26
|
+
<th><%= t("product_testimonials.location") %></td>
|
27
|
+
<th><%= t("product_testimonials.featured") %></td>
|
28
28
|
<% end %>
|
29
29
|
<th>
|
30
30
|
<%= hook :admin_testimonials_header_actions %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class SpreeProductTestimonialsHooks < Spree::ThemeSupport::HookListener
|
2
2
|
insert_after :admin_product_tabs do
|
3
3
|
%{<li<%== ' class="active"' if current == "Testimonials" %>>
|
4
|
-
<%= link_to t("testimonials"), admin_product_testimonials_url(@product) %>
|
4
|
+
<%= link_to t("product_testimonials.testimonials"), admin_product_testimonials_url(@product) %>
|
5
5
|
</li>}
|
6
6
|
end
|
7
7
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_product_testimonials
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: spree_core
|
17
|
-
requirement: &
|
17
|
+
requirement: &22656740 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: 0.30.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *22656740
|
26
26
|
description: With this gem you get management tools to make it very easy to update
|
27
27
|
your product testimonials thru the admin section
|
28
28
|
email: benhutton@gmail.com
|
@@ -42,6 +42,7 @@ files:
|
|
42
42
|
- app/views/admin/testimonials/_form.html.erb
|
43
43
|
- app/models/testimonial.rb
|
44
44
|
- app/controllers/admin/testimonials_controller.rb
|
45
|
+
- config/locales/en.yml
|
45
46
|
- config/routes.rb
|
46
47
|
has_rdoc: false
|
47
48
|
homepage:
|