effective_pages 2.0.6 → 2.0.7
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: dc4146ba84bf916d768ba60fd5b81cdad9d9fed5ca0183f587f7366f97f2734c
|
4
|
+
data.tar.gz: d1ba1a9841c8a9950109b719c08102305c9024ebd94dc0389bf9dfc9475c39bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb0468bf139a9ea55c238bdfb15a1e73bb5c580b7f50d827b0962a7771fa09216e7a9ea4a84be6fea3f1bca579104e57dd74403531d085cfffce8dba24e927b7
|
7
|
+
data.tar.gz: 0f70822d70b8ea025a9bc96f0899051792659e5e454052c48f44890f6a2cbe9ec2328f61dba60322920accce49463a5627695b6c5d104d844e72d0e235da170d
|
@@ -20,7 +20,7 @@ module Effective
|
|
20
20
|
'Hi Admin!',
|
21
21
|
('You are viewing a hidden page.' unless @page.published?),
|
22
22
|
'Click here to',
|
23
|
-
("<a href='#{effective_regions.edit_path(effective_pages.page_path(@page))}' class='alert-link'>edit page content</a> or" unless admin_edit?),
|
23
|
+
("<a href='#{effective_regions.edit_path(effective_pages.page_path(@page))}' class='alert-link' data-no-turbolink='true' data-turbolinks='false'>edit page content</a> or" unless admin_edit?),
|
24
24
|
("<a href='#{effective_pages.edit_admin_page_path(@page)}' class='alert-link'>edit page settings</a>.")
|
25
25
|
].compact.join(' ')
|
26
26
|
end
|
@@ -7,7 +7,7 @@
|
|
7
7
|
All menu editing may be done from the fullscreen editor. Just drag and drop menu items.
|
8
8
|
.col-sm-6
|
9
9
|
%p.text-right
|
10
|
-
= link_to "Edit #{@menu}", effective_regions.edit_path('/'), class: 'btn btn-primary', 'data-no-turbolink': true, target: '_blank'
|
10
|
+
= link_to "Edit #{@menu}", effective_regions.edit_path('/'), class: 'btn btn-primary', 'data-no-turbolink': true, 'data-turbolinks': false, target: '_blank'
|
11
11
|
|
12
12
|
- if defined?(EffectiveRoles)
|
13
13
|
%h2 Menu Items
|
@@ -1,7 +1,7 @@
|
|
1
1
|
= dropdown(variation: :dropleft) do
|
2
2
|
= dropdown_link_to 'Edit', effective_pages.edit_admin_page_path(page)
|
3
|
-
= dropdown_link_to 'Edit Content', effective_regions.edit_path(page), 'data-no-turbolink': true, target: '_blank'
|
4
|
-
= dropdown_link_to 'View', effective_pages.page_path(page), 'data-no-turbolink': true, target: '_blank'
|
3
|
+
= dropdown_link_to 'Edit Content', effective_regions.edit_path(page), 'data-no-turbolink': true, 'data-turbolinks': false, target: '_blank'
|
4
|
+
= dropdown_link_to 'View', effective_pages.page_path(page), 'data-no-turbolink': true, 'data-turbolinks': false, target: '_blank'
|
5
5
|
|
6
6
|
= dropdown_link_to "Delete #{page}", effective_pages.admin_page_path(page),
|
7
7
|
data: { method: :delete, confirm: "Really delete #{page}?" }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
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
|