cama_meta_tag 1.3 → 1.4

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
  SHA1:
3
- metadata.gz: f33a233b0ecf1b2ef05734c1ea19079249a379b9
4
- data.tar.gz: 50b8e14d50e3c81cfd2f7c3b0115a88c897f83a9
3
+ metadata.gz: af1eec13ebb39262ede18d19ba28a1557f3b6b40
4
+ data.tar.gz: 4a7e3dea2f036b06fe7ba93abc49ff2bc6bb0bd7
5
5
  SHA512:
6
- metadata.gz: 9b361f4528d35f48ac150bec0887fa422d91b18e9e2f50d34fcf69ff47f94d5869c34fd3cbeb61d8beab48d872c39540ed4a531b4e427e6c1c3395aa2e37916f
7
- data.tar.gz: c0c57119ff90b13ee1ba3f117e9748296100f191a4b2bb7c9ac891e53f1a05059c7620476388cf92313b72f36ff96c77dcbe7b6c7c9798f2f6728ab8d16082c1
6
+ metadata.gz: 8a0917ec0d04af2c56ff05587936bd00b13e4031cb54a0bb012927b3341786bce37c0a581654ad62ccff294c15be888cef9109c98de5566c40830b04e88d5365
7
+ data.tar.gz: f4dbb6b4864698d15bd09c7babf7124a0d3c8f26d7025b8790d2e28ba28463b79a135123136112ffb555657765e66d8215a4aba7596aeed7f97a8c04df6df096
@@ -1,38 +1,37 @@
1
- <% t_scope = 'plugins.cama_meta_tag.admin.meta_tag_fields' %>
2
1
  <div class="panel panel-default panel-toggled">
3
2
  <div class="panel-heading">
4
- <div><b><%= t('.title_seo', scope: t_scope, default: t('.title_seo', locale: :en)) %></b></div>
3
+ <div><b><%= t('.title_seo', default: t('.title_seo', locale: :en)) %></b></div>
5
4
  <ul class="panel-controls">
6
5
  <li><a class="panel-collapse" href="#"><span class="fa fa-angle-up"></span></a></li>
7
6
  </ul>
8
7
  </div>
9
8
  <div class="panel-body">
10
9
  <div class="form-group">
11
- <%= label_tag 'options[seo_title]', t('.seo_title', scope: t_scope, default: t('.seo_title', locale: :en)) %>
10
+ <%= label_tag 'options[seo_title]', t('.seo_title', default: t('.seo_title', locale: :en)) %>
12
11
  <%= text_field_tag 'options[seo_title]', post.get_option('seo_title'), class: 'form-control translatable' %>
13
12
  </div>
14
13
  <div class="form-group">
15
- <%= label_tag 'options[keywords]', t('.seo_keywords', scope: t_scope, default: t('.seo_keywords', locale: :en)) %>
14
+ <%= label_tag 'options[keywords]', t('.seo_keywords', default: t('.seo_keywords', locale: :en)) %>
16
15
  <%= text_field_tag 'options[keywords]', post.get_option('keywords'), class: 'form-control translatable' %>
17
16
  </div>
18
17
  <div class="form-group">
19
- <%= label_tag 'options[seo_description]', t('.seo_descr', scope: t_scope, default: t('.seo_descr', locale: :en)) %>
18
+ <%= label_tag 'options[seo_description]', t('.seo_descr', default: t('.seo_descr', locale: :en)) %>
20
19
  <%= text_area_tag 'options[seo_description]', post.get_option('seo_description'), class: 'form-control translatable' %>
21
20
  </div>
22
21
 
23
22
  <div class="form-group">
24
- <%= label_tag 'options[seo_author]', t('.seo_author', scope: t_scope, default: t('.seo_author', locale: :en)) %>
23
+ <%= label_tag 'options[seo_author]', t('.seo_author', default: t('.seo_author', locale: :en)) %>
25
24
  <%= text_field_tag 'options[seo_author]', post.get_option('seo_author'), class: 'form-control' %>
26
25
  </div>
27
26
  <div class="form-group">
28
- <%= label_tag 'options[seo_image]', t('.seo_image', scope: t_scope, default: t('.seo_image', locale: :en)) %> <br>
27
+ <%= label_tag 'options[seo_image]', t('.seo_image', default: t('.seo_image', locale: :en)) %> <br>
29
28
  <%= hidden_field_tag 'options[seo_image]', post.get_option('seo_image') %>
30
29
  </div>
31
30
  </div>
32
31
  </div>
33
32
  <script type="application/javascript">
34
33
  jQuery(function(){
35
- $("#form-post #options_seo_image").input_upload({label: '', title: '<%= t('.seo_image', scope: t_scope, default: t('.seo_image', locale: :en)) %>', type: 'image'});
34
+ $("#form-post #options_seo_image").input_upload({label: '', title: '<%= t('.seo_image', default: t('.seo_image', locale: :en)) %>', type: 'image'});
36
35
  <% if cama_meta_tag_post_is_for_old_version?(post) %> $('#form-post #post_keywords').closest('.form-group').remove(); <% end %>
37
36
  })
38
37
  </script>
@@ -1,3 +1,3 @@
1
1
  module CamaMetaTag
2
- VERSION = "1.3"
2
+ VERSION = "1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cama_meta_tag
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Peredo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-12 00:00:00.000000000 Z
11
+ date: 2017-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -97,7 +97,7 @@ files:
97
97
  - test/dummy/public/favicon.ico
98
98
  - test/integration/navigation_test.rb
99
99
  - test/test_helper.rb
100
- homepage: ''
100
+ homepage: https://github.com/owen2345/camaleon-cms-seo
101
101
  licenses:
102
102
  - MIT
103
103
  metadata: {}
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.4.8
120
+ rubygems_version: 2.6.10
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Permit to manage the seo attributes for each page of Camaleon CMS.
@@ -159,4 +159,3 @@ test_files:
159
159
  - test/dummy/README.rdoc
160
160
  - test/integration/navigation_test.rb
161
161
  - test/test_helper.rb
162
- has_rdoc: