effective_pages 0.9.8 → 0.9.9

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: e1a00ef1dd50024c7491f7112e97b858fd65a7a9
4
- data.tar.gz: a1cb70948388278617d07d3e401bb0a43f425f1d
3
+ metadata.gz: a2d41b2630aaefbb1420d537dc135ed8cdc5fec7
4
+ data.tar.gz: 5b41a3f57a8f79c89e693592c16add0e3b71d180
5
5
  SHA512:
6
- metadata.gz: abadfdb4293769589bb16bba5f0818377056b6fcc2842c7678dfc8e7ea756315cb3b5f1f71ba8128534f8674faa1b0547a87bd8cbb4039bc45455bf8e6b2be0a
7
- data.tar.gz: 598eea46d0fdbc1a2543dfba51f87ca048fe603032da65f8d52acdd0f5e28a9fbf3801606ab8efb05cb8637a43107bd2074bcc3252f44bdbb51d015f2f276a0e
6
+ metadata.gz: bf4c66bea5ee5779173e67d76e47af3e83e90ebb6eb1018b0c61f06819c87e25f15b07d61f2fdb7ae076b361878a136f159f5d164264bb843e2063c18671f42f
7
+ data.tar.gz: dd106db398204db1b5077fe90f3d57f26bcf3e187dcbbbf881bae344526f342afb8d657573c5084564a5ea5a5af8ad0f2b0708343a1d9dfc041c35f2c9b4a3d6
@@ -30,5 +30,5 @@
30
30
  .col-xs-12
31
31
  .form-group
32
32
  .pull-right
33
- = f.button :submit, 'Save'
33
+ = f.button :submit, 'Save', data: { disable_with: 'Saving...' }
34
34
  = link_to 'Cancel', effective_pages.admin_menus_path
@@ -1,6 +1,9 @@
1
1
  %h2= @page_title
2
2
 
3
+ %p.text-right= link_to 'New Menu', effective_pages.new_admin_menu_path, :class => 'btn btn-primary'
4
+
3
5
  = render_datatable @datatable do
4
6
  %p There are no menus
5
7
 
6
- %p= link_to 'New Menu', effective_pages.new_admin_menu_path, :class => 'btn btn-primary'
8
+ - if @datatable.present?
9
+ %p.text-right= link_to 'New Menu', effective_pages.new_admin_menu_path, :class => 'btn btn-primary'
@@ -25,8 +25,8 @@
25
25
  .col-xs-12
26
26
  .form-group
27
27
  .pull-right
28
- = f.button :submit, 'Save'
28
+ = f.button :submit, 'Save', data: { disable_with: 'Saving...' }
29
29
  - if defined?(EffectiveRegions)
30
- = f.button :submit, 'Save and Edit Content'
31
- = f.button :submit, 'Save and Add New'
30
+ = f.button :submit, 'Save and Edit Content', data: { disable_with: 'Saving...' }
31
+ = f.button :submit, 'Save and Add New', data: { disable_with: 'Saving...' }
32
32
  = link_to 'Cancel', effective_pages.admin_pages_path
@@ -1,6 +1,9 @@
1
1
  %h2= @page_title
2
2
 
3
+ %p.text-right= link_to 'New Page', effective_pages.new_admin_page_path, :class => 'btn btn-primary'
4
+
3
5
  = render_datatable @datatable do
4
6
  %p There are no pages
5
7
 
6
- %p= link_to 'New Page', effective_pages.new_admin_page_path, :class => 'btn btn-primary'
8
+ - if @datatable.present?
9
+ %p.text-right= link_to 'New Page', effective_pages.new_admin_page_path, :class => 'btn btn-primary'
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '0.9.8'.freeze
2
+ VERSION = '0.9.9'.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: 0.9.8
4
+ version: 0.9.9
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: 2015-03-12 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails