cms-fortress 1.3.12 → 1.3.13

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: 608e3086c6f0be443c4669157a1a0352a4b23659
4
- data.tar.gz: b0a47b0364808208f11887667d4f64fda64908d3
3
+ metadata.gz: 5335a7559e88a1db0f3d0984eb7ad563d175ba18
4
+ data.tar.gz: 8c5604c06a1c9e19883a4746c8e871b6668bad36
5
5
  SHA512:
6
- metadata.gz: 474ad973c1a19d3ce127b5755dbac73a3ff56cc23732c2a6881390207000e99ae19db3fb0e7cb6504aa0c7e4b50de7a658f771811fea9f853a40f824f6720dce
7
- data.tar.gz: 936b68e255462b964a2bc58b8e3933e2f2a68b33d5615f3aa11df0c9cff7154d774969ea1c98f93acc42025aeae493ddb103b8d816590d64d2fd0e6456376524
6
+ metadata.gz: bc743846cfc05aac392c66766b65260231d755aa683a286bcb9d19ce023da7ce695515fe9aeaae7a07858867bdc8438ad0352c3a0b21917aec9cfad9f4bef8f5
7
+ data.tar.gz: 167899398af76bb29bd94a0b8b7b83416184074d062a0ecd97362583b9f1d187d3397e43ddc174cdac675c1f19bc107f2d598bc780e885dd1c6a824b345c579f
@@ -23,7 +23,7 @@ An extension for the awesome ComfortableMexicanSofa (https://github.com/comfy/co
23
23
 
24
24
  Add gem defintion to your Gemfile:
25
25
 
26
- gem 'cms-fortress', '~> 1.3.6'
26
+ gem 'cms-fortress', '~> 1.3.12'
27
27
 
28
28
  Then from the Rails project's root run:
29
29
 
@@ -147,6 +147,6 @@ Please see {CONTRIBUTING.rdoc}[https://github.com/melvinsembrano/cms-fortress/bl
147
147
 
148
148
  == Copyright
149
149
 
150
- Copyright (c) 2014 Melvin Sembrano. See LICENSE.txt for
150
+ Copyright (c) 2015 Melvin Sembrano. See LICENSE.txt for
151
151
  further details.
152
152
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.12
1
+ 1.3.13
@@ -17,10 +17,8 @@
17
17
 
18
18
  = form.text_field :label, :data => {:slugify => @page.new_record?}
19
19
 
20
- - unless @site.pages.count == 0 || @site.pages.root == @page
21
- = form.text_field :slug, :data => {:slug => true}
22
- - unless @page.new_record?
23
- = form.text_field :full_path, :id => 'full-path', :disabled => true
20
+ - if @page.parent.present?
21
+ = form.text_field :slug, :data => {:slug => true}, :prepend => @page.parent.full_path
24
22
 
25
23
  - if (options = ::Comfy::Cms::Layout.options_for_select(@site)).present?
26
24
  = form.select :layout_id, options, {}, 'data-url' => form_blocks_comfy_admin_cms_site_page_path(@site, @page.id.to_i)
@@ -31,6 +29,7 @@
31
29
  - if (options = ::Comfy::Cms::Page.options_for_select(@site, @page, nil, 0, false)).present?
32
30
  = form.select :target_page_id, [["---- #{t('.select_target_page')} ----", nil]] + options
33
31
 
32
+
34
33
  = render 'comfy/admin/cms/partials/page_form_inner', :form => form
35
34
 
36
35
  = render 'comfy/admin/cms/categories/form', :form => form
@@ -16,7 +16,7 @@
16
16
  - unless default_theme?
17
17
  = javascript_include_tag "cms/fortress/themes/#{ theme_name }"
18
18
 
19
- - if @site && @site.persisted? && !settings.use_tinymce
19
+ - if @site && @site.persisted?
20
20
 
21
21
  :javascript
22
22
  CMS.file_upload_path = '#{comfy_admin_cms_site_files_path(@site)}';
@@ -26,4 +26,4 @@
26
26
 
27
27
  = yield :head
28
28
 
29
- = render 'comfy/admin/cms/partials/html_head'
29
+ = render 'comfy/admin/cms/partials/html_head'
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "cms-fortress"
5
- s.version = "1.3.12"
5
+ s.version = "1.3.13"
6
6
 
7
7
  s.authors = ["Melvin Sembrano"]
8
- s.date = "2015-10-10"
8
+ s.date = "2015-10-16"
9
9
  s.description = "Comfortable Mexican Sofa (CMS) - User and role management extension"
10
10
  s.email = "melvinsembrano@gmail.com"
11
11
  s.extra_rdoc_files = [ "LICENSE.txt", "README.rdoc" ]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms-fortress
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Melvin Sembrano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-10 00:00:00.000000000 Z
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails