tkh_content 0.9.5 → 0.9.6

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: c4f00d2b653be2bc14e7eef874c700c003377fd1
4
- data.tar.gz: e4760eac402657f6432372650bb58e9f0366b63a
3
+ metadata.gz: 696381a8bd6d33c376230576651f4005a9436bc0
4
+ data.tar.gz: 83a018e3c21fedc8ee8660e3123953976fe3025e
5
5
  SHA512:
6
- metadata.gz: 239ceefbd19678e50369933cb9a19bfe4704039436511abda93f47082a11b4984c5afb6e8a3139238880610201de8b964bc20e425e1a76aefb5177fd0832c0ba
7
- data.tar.gz: fe9458c483061a996f5d2e9f65829701fd47587f2e38807a768632e90b64e484c6bc5bd30770f5d1c52e48c9967495717c418edc4e951d78b1d14418bbf2dc48
6
+ metadata.gz: ca41ac50bfc656554c26b96ae38d5a158471a9e5e65a1f1eb1d8a82a5d786591f5e6b4f73d73c92d3b8662adcffa095db4b13a8096cb45ee0e7a3bc422df8b50
7
+ data.tar.gz: f78a19845ea6522dbfde48b37aa667c94219543aff68a04979dc3d8cf0f6b8b45a611b6128a548a143992e474e92dfbef8da72ac8dc6e63c3ac06c7becfc37dc
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.6
6
+
7
+ * Removed the pages js coffee file and moved code to tkh_admin_panel gem under admin folder
5
8
 
6
9
 
7
10
  ## 0.9.5
@@ -1,3 +1,3 @@
1
1
  module TkhContent
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-02 00:00:00.000000000 Z
11
+ date: 2014-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -148,7 +148,6 @@ files:
148
148
  - README.md
149
149
  - Rakefile
150
150
  - app/assets/javascripts/ckeditor/config.js.coffee
151
- - app/assets/javascripts/pages.js.coffee
152
151
  - app/controllers/blog_controller.rb
153
152
  - app/controllers/comments_controller.rb
154
153
  - app/controllers/contacts_controller.rb
@@ -1,20 +0,0 @@
1
- jQuery ->
2
- # Some fields should be shown only for blog posts, others only for static content pages
3
- if $('input#page_for_blog:checked').length>0
4
- $('#page-short-title').hide()
5
- $('#parent-page-title').hide()
6
- else
7
- $('#page-tag-list').hide()
8
-
9
- # Toggle fields to be shown when user changes page to/from static content to/from blog post
10
- $("input#page_for_blog").change ->
11
- if $('input#page_for_blog:checked').length>0
12
- $('#page-short-title').hide(450)
13
- $('#parent-page-title').hide(450)
14
- $('#page-tag-list').show(450)
15
- else
16
- $('#page-tag-list').hide(450)
17
- $('#page-short-title').show(450)
18
- $('#parent-page-title').show(450)
19
-
20
-