etabliocms_pages 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,16 @@
19
19
  </p>
20
20
  <% end %>
21
21
 
22
+ <p>
23
+ <%= f.label :meta_title %>
24
+ <%= f.text_field :meta_title, :class => 'text-field' %>
25
+ </p>
26
+
27
+ <p>
28
+ <%= f.label :meta_description %>
29
+ <%= f.text_area :meta_description, :class => 'small-text-area' %>
30
+ </p>
31
+
22
32
  <% if !@page.new_record? && respond_to?(:page_path) %>
23
33
  <p>
24
34
  <strong>Náhled: </strong>
@@ -36,6 +36,8 @@ cs:
36
36
  title: Nadpis
37
37
  locale: Jazyk
38
38
  text: Text
39
+ meta_title: Meta nadpis
40
+ meta_description: Meta popisek
39
41
  activerecord:
40
42
  errors:
41
43
  messages:
@@ -0,0 +1,8 @@
1
+ class AddMetaColumns < ActiveRecord::Migration
2
+
3
+ def change
4
+ add_column :contents, :meta_title, :string
5
+ add_column :contents, :meta_description, :text
6
+ end
7
+
8
+ end
@@ -1,3 +1,3 @@
1
1
  module EtabliocmsPages
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etabliocms_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-18 00:00:00.000000000 Z
12
+ date: 2012-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &20330440 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 3.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *20330440
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.1
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: etabliocms_core
27
- requirement: &20329880 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,21 +37,31 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *20329880
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: awesome_nested_set
38
- requirement: &20328220 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
- - - =
51
+ - - '='
42
52
  - !ruby/object:Gem::Version
43
53
  version: 2.1.2
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *20328220
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.2
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: paperclip
49
- requirement: &20326940 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *20326940
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: sqlite3
60
- requirement: &20325920 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *20325920
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  description: Small CMS - module for pages
70
95
  email:
71
96
  - patrikjira@gmail.com
@@ -73,38 +98,39 @@ executables: []
73
98
  extensions: []
74
99
  extra_rdoc_files: []
75
100
  files:
76
- - app/views/layouts/_sidebar_pages.html.erb
77
- - app/views/etabliocms_pages/admin/pages/_form.html.erb
78
- - app/views/etabliocms_pages/admin/pages/_attachments.html.erb
79
- - app/views/etabliocms_pages/admin/pages/_content_fields.html.erb
80
- - app/views/etabliocms_pages/admin/pages/new.html.erb
81
- - app/views/etabliocms_pages/admin/pages/edit.html.erb
82
- - app/views/etabliocms_pages/admin/pages/index.html.erb
83
- - app/views/etabliocms_pages/admin/pages/destroy_attachment.js.erb
84
- - app/assets/javascripts/pages.js
101
+ - app/assets/images/admin/sidebar-pages.png
102
+ - app/assets/images/icons/icon-copypaste.png
85
103
  - app/assets/javascripts/admin-pages.js
104
+ - app/assets/javascripts/pages.js
86
105
  - app/assets/stylesheets/admin-pages.css
87
106
  - app/assets/stylesheets/pages.css.scss
88
- - app/assets/images/admin/sidebar-pages.png
89
- - app/assets/images/icons/icon-copypaste.png
90
107
  - app/controllers/etabliocms_pages/admin/pages_controller.rb
91
- - app/models/etabliocms_pages/content.rb
92
108
  - app/models/etabliocms_pages/attachment.rb
109
+ - app/models/etabliocms_pages/content.rb
93
110
  - app/models/etabliocms_pages/page.rb
94
- - config/routes.rb
111
+ - app/views/etabliocms_pages/admin/pages/_attachments.html.erb
112
+ - app/views/etabliocms_pages/admin/pages/_content_fields.html.erb
113
+ - app/views/etabliocms_pages/admin/pages/_form.html.erb
114
+ - app/views/etabliocms_pages/admin/pages/destroy_attachment.js.erb
115
+ - app/views/etabliocms_pages/admin/pages/edit.html.erb
116
+ - app/views/etabliocms_pages/admin/pages/index.html.erb
117
+ - app/views/etabliocms_pages/admin/pages/new.html.erb
118
+ - app/views/layouts/_sidebar_pages.html.erb
95
119
  - config/initializers/flash_session_cookie_middleware.rb
96
120
  - config/locales/pages.cs.yml
121
+ - config/routes.rb
97
122
  - db/migrate/20120223140555_create_pages.etabliocms_pages_engine.rb
98
- - db/migrate/20120312181555_add_locked_to_pages.etabliocms_pages_engine.rb
99
123
  - db/migrate/20120301175455_create_contents.etabliocms_pages_engine.rb
124
+ - db/migrate/20120312181555_add_locked_to_pages.etabliocms_pages_engine.rb
100
125
  - db/migrate/20120315114155_create_attachments.etabliocms_pages_engine.rb
101
- - lib/etabliocms_pages/version.rb
126
+ - db/migrate/20120415162855_add_meta_columns.etabliocms_pages_engine.rb
102
127
  - lib/etabliocms_pages/engine.rb
128
+ - lib/etabliocms_pages/version.rb
103
129
  - lib/etabliocms_pages.rb
130
+ - public/uploadify/cancel.png
131
+ - public/uploadify/uploadify.swf
104
132
  - public/zeroclipboard/ZeroClipboard.swf
105
133
  - public/zeroclipboard/ZeroClipboard10.swf
106
- - public/uploadify/uploadify.swf
107
- - public/uploadify/cancel.png
108
134
  - vendor/assets/javascripts/jquery.uploadify.v2.1.4.js
109
135
  - vendor/assets/javascripts/jquery.zclip.js
110
136
  - vendor/assets/javascripts/swfobject.js
@@ -132,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
158
  version: '0'
133
159
  requirements: []
134
160
  rubyforge_project:
135
- rubygems_version: 1.8.5
161
+ rubygems_version: 1.8.21
136
162
  signing_key:
137
163
  specification_version: 3
138
164
  summary: Small CMS - module for pages