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 +4 -4
- data/lib/arctic_admin/active_admin/views/pages/bases.rb +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c7ffd7f16b0dae3154f05c7b5eefba655a26929
|
4
|
+
data.tar.gz: 39ef6d36e27ad5768c7d67e61e2c7b230323e04c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|