effective_posts 1.1.7 → 1.1.8
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35cc779fb36341bf0621138e704ed5435cc5407b57b9a884ba718751223d41c8
|
4
|
+
data.tar.gz: c1ac5018105cad61d783e6f52fbf5b40af72a0f11f453f93d7fff500579622ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9634291bf90ae6ee89259adc5078aa1b0a8bbcc86408607d92c577360e98e587160832c9771be3bdc4e36f66b352d2b304a8749a4f19eaa79812537f757e8f49
|
7
|
+
data.tar.gz: f880ababf5e6380521a52a74bd54bdc9a3236c549f27b495abfd7762afd58f4ec9530a2026498e497a16835a339122ef7310c381e27292b2a085c9bbab76d8f8
|
@@ -44,7 +44,7 @@ module Effective
|
|
44
44
|
'Hi Admin!',
|
45
45
|
('You are viewing a hidden post.' unless @post.published?),
|
46
46
|
'Click here to',
|
47
|
-
("<a href='#{effective_regions.edit_path(effective_posts.post_path(@post, exit: effective_posts.post_path(@post)))}' class='alert-link'>edit post content</a> or" unless admin_edit?),
|
47
|
+
("<a href='#{effective_regions.edit_path(effective_posts.post_path(@post, exit: effective_posts.post_path(@post)))}' class='alert-link' data-no-turbolink='true' data-turbolinks='false'>edit post content</a> or" unless admin_edit?),
|
48
48
|
("<a href='#{effective_posts.edit_admin_post_path(@post)}' class='alert-link'>edit post settings</a>.")
|
49
49
|
].compact.join(' ')
|
50
50
|
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
= dropdown_link_to 'Edit', effective_posts.edit_admin_post_path(post)
|
7
7
|
- if EffectivePosts.use_fullscreen_editor
|
8
|
-
= dropdown_link_to 'Edit Content', effective_post_path(post, edit: true), title: 'Edit Content', 'data-no-turbolink': true, target: '_blank'
|
8
|
+
= dropdown_link_to 'Edit Content', effective_post_path(post, edit: true), title: 'Edit Content', 'data-no-turbolink': true, 'data-turbolinks': false, target: '_blank'
|
9
9
|
|
10
10
|
= dropdown_link_to 'View', effective_post_path(post), target: '_blank'
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_posts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|