administrador 0.0.30.pre → 0.0.32.pre
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 +4 -4
- data/app/view_helpers/administrador/application_view_helper.rb +1 -1
- data/app/views/administrador/application/sidebars/_engine.html.haml +1 -1
- data/app/views/administrador/home/index.html.haml +5 -0
- data/app/views/layouts/administrador/application.html.haml +1 -0
- data/config/locales/de.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/lib/administrador/registered_engine.rb +1 -1
- data/lib/administrador/version.rb +1 -1
- metadata +4 -4
- data/app/views/administrador/home/index.de.html.haml +0 -4
- /data/app/views/administrador/home/{index.en.html.haml → index.en.html.haml~} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a795afc995a27ab9be96b39852589b1c37b3a7403cace8eb7b1f621fac1e180
|
4
|
+
data.tar.gz: 9162001d323c54f072bfef31848d045b0ae1cf4f2433bf9bb6f6983c1f0a3efe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a83c5bb99c258d50ca62bb2b82150b49ae4dd7af16a6d2a3b158989d51c8be9484b4d1eded17b4d9ff45d58b8a437a4c5901baae1c7acd271f484f676eba0fb4
|
7
|
+
data.tar.gz: 467ee89df77b2b3debc1c8aaa11a318041b51e6f650c4a60e30b1eb7e93acb40b4f5fc048a7dba507997ba9d328b25d5f572ecab56636ca5413e647ef82ba4cd
|
@@ -31,7 +31,7 @@ module Administrador
|
|
31
31
|
|
32
32
|
def body_html
|
33
33
|
css_classes = ['administrador', 'd-flex flex-column h-100', c.controller.class.name.underscore.gsub('/', '-').chomp('_controller'), c.action_name].compact.join(' ')
|
34
|
-
{ class: css_classes }
|
34
|
+
{ class: css_classes, "data-turbo": "false" }
|
35
35
|
end
|
36
36
|
|
37
37
|
def render_registered_engine_widget(registered_engine)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
.row
|
4
4
|
.col-12
|
5
5
|
- administrador_helper(self).registered_engines.each_with_index do |(engine), index|
|
6
|
-
- next unless engine.options[:
|
6
|
+
- next unless engine.options[:show].respond_to?(:call) ? instance_exec(&engine.options[:show]) : engine.options[:show]
|
7
7
|
.administrador-engine.mb-4.text-secondary{ id: dom_id(engine), class: dom_class(engine) }
|
8
8
|
%h6.administrador-engine-name.d-flex.text-uppercase
|
9
9
|
%i.fas.fa-home.mr-1
|
@@ -0,0 +1,5 @@
|
|
1
|
+
.row
|
2
|
+
- administrador_helper(self).registered_engines.each do |engine|
|
3
|
+
- next unless engine.options[:show].respond_to?(:call) ? instance_exec(&engine.options[:show]) : engine.options[:show]
|
4
|
+
.col-lg-6.col-xl-4
|
5
|
+
= administrador_helper(self).render_registered_engine_widget(engine)
|
@@ -32,6 +32,7 @@
|
|
32
32
|
= csp_meta_tag
|
33
33
|
= stylesheet_link_tag "administrador", media: "all"
|
34
34
|
= javascript_include_tag "administrador"
|
35
|
+
= turbo_include_tags if respond_to?(:turbo_include_tags)
|
35
36
|
|
36
37
|
= render partial: 'html_head_extras'
|
37
38
|
%body{ administrador_helper(self).body_html }
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administrador
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.32.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -477,8 +477,8 @@ files:
|
|
477
477
|
- app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
|
478
478
|
- app/views/administrador/application_view_helper/_render_registered_engine_widget.html.haml
|
479
479
|
- app/views/administrador/home/_html_head_extras.html.haml
|
480
|
-
- app/views/administrador/home/index.
|
481
|
-
- app/views/administrador/home/index.
|
480
|
+
- app/views/administrador/home/index.en.html.haml~
|
481
|
+
- app/views/administrador/home/index.html.haml
|
482
482
|
- app/views/administrador/home_controller/base/_html_head_extras.html.haml
|
483
483
|
- app/views/administrador/home_controller/base/_index_extras.html.haml
|
484
484
|
- app/views/administrador/home_controller/base/index.html.haml
|
File without changes
|