administrador 0.0.31.pre → 0.0.32.pre

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
  SHA256:
3
- metadata.gz: d4bc5b710eb4e952ec959aed4cc6cf591064226b248fdb2c7f3ec9af26827dfd
4
- data.tar.gz: c2b27875fcb74ac53a17a0ebc23fc37c69b1a881680fc3f35f2acc2ad89c1f89
3
+ metadata.gz: 9a795afc995a27ab9be96b39852589b1c37b3a7403cace8eb7b1f621fac1e180
4
+ data.tar.gz: 9162001d323c54f072bfef31848d045b0ae1cf4f2433bf9bb6f6983c1f0a3efe
5
5
  SHA512:
6
- metadata.gz: 1b525a24edb469d970bfdcf104a39ddc4e1293c2cb65f5427d756dd92456dbcce88004b71bbff2e7bf6bf0f270132c5d319dbfdee2ea8aa04b93f5f540c95790
7
- data.tar.gz: f0cd6e384dface2099c6fae863b3a66bb303c4775f3ee37f225f99eefb8b6a4d4b824b12836976ede5fac77aae7d69b034420b924b4c93d5573702a51bd6e4d5
6
+ metadata.gz: a83c5bb99c258d50ca62bb2b82150b49ae4dd7af16a6d2a3b158989d51c8be9484b4d1eded17b4d9ff45d58b8a437a4c5901baae1c7acd271f484f676eba0fb4
7
+ data.tar.gz: 467ee89df77b2b3debc1c8aaa11a318041b51e6f650c4a60e30b1eb7e93acb40b4f5fc048a7dba507997ba9d328b25d5f572ecab56636ca5413e647ef82ba4cd
@@ -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[:show_in_engine_sidebar]
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)
@@ -42,6 +42,8 @@ de:
42
42
  base:
43
43
  create:
44
44
  title: "%{service_name} ausgeführt"
45
+ create_actions:
46
+ back: "Zurück"
45
47
  new:
46
48
  title: "%{service_name} ausführen"
47
49
  new_actions:
@@ -42,6 +42,8 @@ en:
42
42
  base:
43
43
  create:
44
44
  title: "Ran %{service_name}"
45
+ create_actions:
46
+ back: "Zurück"
45
47
  new:
46
48
  title: "Run %{service_name}"
47
49
  new_actions:
@@ -66,7 +66,7 @@ module Administrador
66
66
  def initialize(attributes = {})
67
67
  options = attributes.delete(:options)
68
68
  options.reverse_merge!(
69
- show_in_engine_sidebar: true
69
+ show: true
70
70
  )
71
71
  attributes.merge(options: options).each do |key, value|
72
72
  send("#{key}=", value)
@@ -1,3 +1,3 @@
1
1
  module Administrador
2
- VERSION = '0.0.31.pre'.freeze
2
+ VERSION = '0.0.32.pre'.freeze
3
3
  end
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.31.pre
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-09-14 00:00:00.000000000 Z
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.de.html.haml
481
- - app/views/administrador/home/index.en.html.haml
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
@@ -1,4 +0,0 @@
1
- .row
2
- - administrador_helper(self).registered_engines.each do |registered_engine|
3
- .col-lg-6.col-xl-4
4
- = administrador_helper(self).render_registered_engine_widget(registered_engine)