arctic_admin 1.2.1 → 1.2.2

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: 7833ceecb94243b98bb17b1161d729105b971974
4
- data.tar.gz: f1948a685adddeef8899b2bfa395c761a29c3337
3
+ metadata.gz: 7c7ffd7f16b0dae3154f05c7b5eefba655a26929
4
+ data.tar.gz: 39ef6d36e27ad5768c7d67e61e2c7b230323e04c
5
5
  SHA512:
6
- metadata.gz: 70c188492e367a632d227fab6dd296dffbdc74d6273dd17aa39a2fb5c5af2e9be6bc56231817248c49ee7c3b8a58e85cc629a99f11c0f578946b5091c255a538
7
- data.tar.gz: 4e549ca41dc952846dd400b8aaae1d18cbf609c9c72000df6a79bb6c315b90ad279bf0aeef579bc1d12b1e10a66f600d5964cb8aefd30cbe04f77d843abb1b3a
6
+ metadata.gz: bd255a8f15e4fab5c36435e45e77503d27d065b8b8d5e138593276ef5e25a5f674a3d0a86ef34334c97059b71d88670ad347aaec90b0359046f20d219d7d4042
7
+ data.tar.gz: 66b98ec0c66f8f886d7527392426c36b0c757bd363b4eab83e187b2b7ef31cfe298e4cb5591c8f8430c1679618a7626c6883af695202f3398308e9c4715c9636
@@ -10,6 +10,19 @@ module ActiveAdmin
10
10
  meta name: 'viewport', content: 'width=device-width, initial-scale=1'
11
11
  end
12
12
  end
13
+
14
+ def build_page_content
15
+ # build_flash_messages - move this call in the method 'build_title_bar'
16
+ div id: "active_admin_content", class: (skip_sidebar? ? "without_sidebar" : "with_sidebar") do
17
+ build_main_content_wrapper
18
+ build_sidebar unless skip_sidebar?
19
+ end
20
+ end
21
+
22
+ def build_title_bar
23
+ build_flash_messages
24
+ insert_tag view_factory.title_bar, title, action_items_for_action
25
+ end
13
26
  end
14
27
  end
15
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arctic_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clément Prod'homme