caboose-cms 0.9.88 → 0.9.89

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: ec89e27c37b975062b748ee6775982f6f6bfc70d
4
- data.tar.gz: b7708e34353f94ebc6e0456664f3fc106e41245c
3
+ metadata.gz: 420a543a2ca1c9d7c9c08ed6adb1d374ba2348a5
4
+ data.tar.gz: 8b1cad05af17a22e26079a63ca7b7839ee805721
5
5
  SHA512:
6
- metadata.gz: 4d5de20490603bcd306b03ea39ae3b56fee41788e9b146f80475220609417030b2476c17b311c5d92a7c30ebb54b2549a8ba87f038a549c0e9768df08cc95edf
7
- data.tar.gz: 0703c4bdfede2950118c765dd70d425e47d0f24c5ff51b7cf24b6a92e4b50753a5d223582eca5f027b4782142217a1db4d974c02bf46a7810cf3a3dd6ecbfb5a
6
+ metadata.gz: 4ea861e40fdf395fc74c0180b69ea281926d9e92bf5e132665d92108f8d8af19fbfc72aff2871ecc8be8561e7f8ccb56c7a80d2dfe3baa182a21cd213956d5f4
7
+ data.tar.gz: d8f04575ef719163e43ae6f4183899d73e80af3b9e359c19f9b007a46a4defb27c19e2e8f57125274bc43ae8d10f98ae3332d2249894e77ccb68b99ce4c61d91
@@ -584,7 +584,7 @@ module Caboose
584
584
  else
585
585
  p = parent_id ? Page.find(parent_id) : Page.index_page(@site.id)
586
586
  end
587
- options = [{ 'value' => ' ' , 'text' => ' ' }]
587
+ options = []
588
588
  if p
589
589
  sitemap_helper(p, options)
590
590
  end
@@ -11,7 +11,7 @@ class Caboose::CorePlugin < Caboose::CaboosePlugin
11
11
  item['children'] << { 'id' => 'blocktypes' , 'text' => 'Block Types' , 'href' => '/admin/block-types' , 'modal' => false } if user.is_allowed('blocktypes' , 'view') && site.is_master == true
12
12
  item['children'] << { 'id' => 'fonts' , 'text' => 'Fonts' , 'href' => '/admin/fonts' , 'modal' => false } if user.is_allowed('fonts' , 'view') && site.use_fonts == true
13
13
  item['children'] << { 'id' => 'redirects' , 'text' => 'Permanent Redirects' , 'href' => '/admin/redirects' , 'modal' => false } if user.is_allowed('redirects' , 'view')
14
- item['children'] << { 'id' => 'permissions' , 'text' => 'Permissions' , 'href' => '/admin/permissions' , 'modal' => false } if user.is_allowed('permissions' , 'view')
14
+ item['children'] << { 'id' => 'permissions' , 'text' => 'Permissions' , 'href' => '/admin/permissions' , 'modal' => false } if user.is_allowed('permissions' , 'view') && site.is_master == true
15
15
  item['children'] << { 'id' => 'pagecustomfields' , 'text' => 'Page Custom Fields' , 'href' => '/admin/page-custom-fields' , 'modal' => false } if user.is_allowed('pagecustomfields' , 'view')
16
16
  item['children'] << { 'id' => 'post_categories' , 'text' => 'Post Categories' , 'href' => '/admin/post-categories' , 'modal' => false } if user.is_allowed('post_categories' , 'view')
17
17
  item['children'] << { 'id' => 'postcustomfields' , 'text' => 'Post Custom Fields' , 'href' => '/admin/post-custom-fields' , 'modal' => false } if user.is_allowed('postcustomfields' , 'view')
@@ -10,7 +10,9 @@
10
10
  <div class='field_with_explanation'><div id='page_<%= @page.id %>_redirect_url' ></div><span class='explanation'>If the redirect URL field is set, then this page will simply redirect to that URL instead of showing the page itself.</span></div>
11
11
  <div class='field_with_explanation'><div id='page_<%= @page.id %>_hide' ></div><span class='explanation'>Whether or not this page is displayed in the menu.</span></div>
12
12
  <div class='field_with_explanation'><div id='page_<%= @page.id %>_custom_sort_children' ></div><span class='explanation'>Sort child pages alphabetically or <a href='/admin/pages/<%= @page.id %>/child-order'>custom</a>.</span></div>
13
+ <% if false %>
13
14
  <div class='field_with_explanation'><div id='page_<%= @page.id %>_content_format' ></div><span class='explanation'>Specify whether or not you want to embed ruby code in your page.</span></div>
15
+ <% end %>
14
16
  <div class='field_with_explanation'><div id='page_<%= @page.id %>_tags' ></div><span class='explanation'>Tags to help categorize your page. Use as many as you want, just separate by commas.</span></div>
15
17
 
16
18
  <%= render :partial => 'caboose/pages/admin_footer' %>
@@ -67,7 +69,9 @@ $(document).ready(function() {
67
69
  { name: 'redirect_url' , nice_name: 'Redirect URL' , type: 'text' , value: <%= raw Caboose.json(@page.redirect_url ) %> , width: 400 },
68
70
  { name: 'hide' , nice_name: 'Hide' , type: 'checkbox' , value: <%= raw @page.hide %> , width: 400 },
69
71
  { name: 'custom_sort_children' , nice_name: 'Custom sort children' , type: 'checkbox' , value: <%= raw @page.custom_sort_children %> , width: 400 },
70
- { name: 'content_format' , nice_name: 'Content format' , type: 'select' , value: <%= raw Caboose.json(@page.content_format ) %> , width: 400, text: <%= raw Caboose.json(@page.content_format) %>, options_url: '/pages/format-options' },
72
+ <% if false %>
73
+ { name: 'content_format' , nice_name: 'Content format' , type: 'select' , value: <%= raw Caboose.json(@page.content_format ) %> , width: 400, text: <%= raw Caboose.json(@page.content_format) %>, options_url: '/admin/pages/format-options' },
74
+ <% end %>
71
75
  { name: 'tags' , nice_name: 'Tags' , type: 'text' , value: <%= raw Caboose.json(tags ) %> , width: 400 }
72
76
  ]
73
77
  });
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.88'
2
+ VERSION = '0.9.89'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.88
4
+ version: 0.9.89
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-09 00:00:00.000000000 Z
11
+ date: 2017-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg