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: 398c1e27018e91e6b525023eb4436e1996e5d6bf27a709b6ffcfb28f2a1244aa
4
- data.tar.gz: ba5550d8d643d97c3bc28b16150332d5a6a82b030e021044dc69b5e4639992ed
3
+ metadata.gz: dc4146ba84bf916d768ba60fd5b81cdad9d9fed5ca0183f587f7366f97f2734c
4
+ data.tar.gz: d1ba1a9841c8a9950109b719c08102305c9024ebd94dc0389bf9dfc9475c39bd
5
5
  SHA512:
6
- metadata.gz: c071da921b8873e0160aacc25344307f0e592900216b43f2aa523fb5debd6b200c6c14f1a753351bfed8d772aa7f808aeed66ad58d68e83ab72a1c7a82747c78
7
- data.tar.gz: 7824e33d15accde33a03b86d8066ae965925f12222d9f6076a55e147929fc7c718314ddd80179d1ae4c130bacc57cac9e954be441a82a82710d7348e2a866948
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}?" }
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '2.0.6'.freeze
2
+ VERSION = '2.0.7'.freeze
3
3
  end
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.6
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-06-07 00:00:00.000000000 Z
11
+ date: 2019-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails