tkh_admin_panel 0.9.2 → 0.9.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42ede2e3b258621e93861465db25dcf5be41054d
|
4
|
+
data.tar.gz: e09c8bd9c981cced5611e5c7c1ddb23f777def61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4026cab9827fb3924bf6083cf08412ac84642f52b501bc3a5b094912ffe2d8b3c7753d19c78930316d4bdf4c55ba62f258104587223cf3b64d41b36d622e1ab4
|
7
|
+
data.tar.gz: ea7491844ffcd257234e4befc023da934b797324b554dde487e1480bc4bef83cf9156469c745377e10f00a68ec09b47c46fe43e077bf087bca1e115d101ab142
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,23 @@
|
|
1
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
|
+
|
2
20
|
# Typeahead form field for autocomplete associations
|
3
21
|
$('#page_author_name').typeahead(
|
4
22
|
name: 'page_author_name',
|
5
23
|
local: $('#page_author_name').data('source') )
|
6
|
-
|
7
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tkh_admin_panel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
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: railties
|