foreman_hosts 0.0.4dev → 0.0.5dev

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.
@@ -29,13 +29,19 @@ module ForemanHosts
29
29
  role 'ForemanHosts', [:view_foreman_hosts]
30
30
 
31
31
  # add menu entry
32
- menu :top_menu, :template,
33
- url_hash: { controller: :'foreman_hosts/hosts', action: :new_action },
34
- url_hash: { controller: :'foreman_hosts/hosts', action: :export },
35
- url_hash: { controller: :'foreman_hosts/hosts', action: :report_index },
36
- caption: 'ForemanHosts',
37
- parent: :hosts_menu,
38
- after: :hosts
32
+
33
+ menu :top_menu, :foreman_hosts, :url_hash: { controller: :'foreman_hosts/hosts', action: :report_index },
34
+ :caption=> N_('ForemanHosts'),
35
+ :parent => :hosts_menu,
36
+ :after=>:hosts
37
+
38
+ # menu :top_menu, :template,
39
+ # url_hash: { controller: :'foreman_hosts/hosts', action: :new_action },
40
+ # url_hash: { controller: :'foreman_hosts/hosts', action: :export },
41
+
42
+ # caption: 'ForemanHosts',
43
+ # parent: :hosts_menu,
44
+ # after: :hosts
39
45
 
40
46
  # add dashboard widget
41
47
  widget 'foreman_hosts_widget', name: N_('Foreman plugin template widget'), sizex: 4, sizey: 1
@@ -1,3 +1,3 @@
1
1
  module ForemanHosts
2
- VERSION = '0.0.4dev'
2
+ VERSION = '0.0.5dev'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4dev
4
+ version: 0.0.5dev
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors: