rails_admin_ui_layout_taris 1.2.14 → 1.2.15
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2bbb7167063f636bd43e40684198b3e7cc7e697
|
4
|
+
data.tar.gz: ab8ff19194c7d3bb49b6a78adaaaf87ff1d75297
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ff474654c58ad89bbcfba7316d01b3f1effee55afc10163b867d1ccd393d9685b29cbeadf7e348a4021e69318b5e3bf2da03035e1811ccb884fba14fda5845
|
7
|
+
data.tar.gz: 5cd442d0ca309dc082a01f80f13af47939f8ca5ef31487311022b8042c1ff840c4ab98a40839583ba6a413edbdce2cee6943954dd508899736016ab895298ded
|
@@ -1,9 +1,14 @@
|
|
1
|
-
|
1
|
+
<%-
|
2
2
|
base_path = ''
|
3
|
-
base_path <<
|
3
|
+
base_path << if ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?
|
4
|
+
"http://localhost:3000"
|
5
|
+
else
|
6
|
+
"#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
|
7
|
+
end
|
4
8
|
base_path << Rails.application.config.assets.prefix
|
5
9
|
base_path << '/ckeditor/'
|
6
10
|
%>
|
7
11
|
<script>
|
8
12
|
var CKEDITOR_BASEPATH = '<%= base_path %>';
|
13
|
+
console.log(CKEDITOR_BASEPATH)
|
9
14
|
</script>
|
@@ -19,7 +19,6 @@
|
|
19
19
|
= favicon_link_tag 'favicon-16x16.png', rel: 'icon', sizes: "16x16"
|
20
20
|
= favicon_link_tag 'safari-pinned-tab.svg', rel: 'mask-icon', color: "#5bbad5"
|
21
21
|
%body.rails_admin
|
22
|
-
-# = render "layouts/rails_admin/ckeditor_base_path"
|
23
22
|
#admin-js{:'data-i18n-options' => I18n.t("admin.js").to_json}
|
24
23
|
-# Initialize JS simple i18n
|
25
24
|
:javascript
|
@@ -45,6 +44,7 @@
|
|
45
44
|
.content{:'data-pjax-container' => true}
|
46
45
|
= render template: 'layouts/rails_admin/pjax'
|
47
46
|
= render "rails_admin/main/modal_interaction"
|
47
|
+
= render "layouts/rails_admin/ckeditor_base_path"
|
48
48
|
-# -# Initialize JS simple i18n
|
49
49
|
-# :javascript
|
50
50
|
-# RailsAdmin.I18n.init('#{I18n.locale}', JSON.parse("#{j I18n.t("admin.js").to_json}"))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_ui_layout_taris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore
|