tkh_content 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/tkh_content/version.rb +1 -1
- metadata +2 -3
- data/app/assets/javascripts/pages.js.coffee +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 696381a8bd6d33c376230576651f4005a9436bc0
|
|
4
|
+
data.tar.gz: 83a018e3c21fedc8ee8660e3123953976fe3025e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca41ac50bfc656554c26b96ae38d5a158471a9e5e65a1f1eb1d8a82a5d786591f5e6b4f73d73c92d3b8662adcffa095db4b13a8096cb45ee0e7a3bc422df8b50
|
|
7
|
+
data.tar.gz: f78a19845ea6522dbfde48b37aa667c94219543aff68a04979dc3d8cf0f6b8b45a611b6128a548a143992e474e92dfbef8da72ac8dc6e63c3ac06c7becfc37dc
|
data/CHANGELOG.md
CHANGED
data/lib/tkh_content/version.rb
CHANGED
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.
|
|
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-
|
|
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
|
-
|