thecore_ui_rails_admin 2.4.7 → 2.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c297f81a85b647ff5bc8369ac1522bcc9be787234b5cc2b6f391e73b62b653c
|
4
|
+
data.tar.gz: 0cde220b727ad5cb1e864d44ac5879fc16dfc0c28747c75d6421dcdb30eca823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00bd988974a0fd7d57fb48d3a5551cfbeac4cff7a9d610cc826fe1f22aa7a02180410e66181300b0f9b19047ae6cf19e83cd68dded005ce824055cebaf7ac6ca
|
7
|
+
data.tar.gz: c05c76654872aa77c1bc237c56d761d243ce5fb67746ea56c8d00d625eaf95b367889568ce848a6e124796fbd8205ee9a733c12786120457f85db02989475b05
|
@@ -6,3 +6,23 @@
|
|
6
6
|
//= require rails_admin/custom/thecore-custom-3
|
7
7
|
//= require rails_admin/custom/thecore-custom-4
|
8
8
|
//= require rails_admin/custom/thecore-custom-5
|
9
|
+
|
10
|
+
function hideBreadCrumbAndToolbar() {
|
11
|
+
// If the page loaded has a tag like <span class="hide-breadcrumb hide-toolbar"></span>
|
12
|
+
// then hide the elements
|
13
|
+
|
14
|
+
// var actionName = "#{action_name}"
|
15
|
+
// var isRoot = "#{RailsAdmin::Config::Actions.find(action_name.to_sym).root?}"
|
16
|
+
|
17
|
+
// console.log(actionName, isRoot)
|
18
|
+
|
19
|
+
if($(".hide-breadcrumb").length) $(".breadcrumb").hide()
|
20
|
+
else $(".breadcrumb").show()
|
21
|
+
|
22
|
+
if($(".hide-toolbar").length) $(".breadcrumb + .nav.nav-tabs").hide()
|
23
|
+
else $(".breadcrumb + .nav.nav-tabs").show()
|
24
|
+
}
|
25
|
+
|
26
|
+
// Re evaluate at each iteraction
|
27
|
+
$(document).off('ready pjax:success', hideBreadCrumbAndToolbar);
|
28
|
+
$(document).on('ready pjax:success', hideBreadCrumbAndToolbar);
|
@@ -10,3 +10,17 @@
|
|
10
10
|
.form-control.selectize-control {
|
11
11
|
width: 62%;
|
12
12
|
}
|
13
|
+
|
14
|
+
#secondary-navigation .navbar-nav li {
|
15
|
+
display: none;
|
16
|
+
&:nth-last-of-type(2), &:last-of-type {
|
17
|
+
display: block !important;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
#list form .well {
|
22
|
+
background-color: transparent;
|
23
|
+
border: none;
|
24
|
+
-webkit-box-shadow: none;
|
25
|
+
box-shadow: none;
|
26
|
+
}
|
data/config/locales/it.main.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_ui_rails_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_ui_commons
|