foreman-katello-engine 0.0.6 → 0.0.7

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.
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => "home/_topbar",
2
+ :name => "add_katello_link",
3
+ :insert_after => 'code[erb-loud]:contains("render"):contains("home/settings")',
4
+ :partial => 'foreman_katello_engine/layout/katello_link')
@@ -0,0 +1,3 @@
1
+ <li>
2
+ <%= link_to "#{ForemanKatelloEngine::LABEL} #{image_tag("foreman_katello_engine/link.png")}".html_safe, Setting['katello_url'] %>
3
+ </li>
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "foreman-katello-engine"
3
- s.version = "0.0.6"
3
+ s.version = "0.0.7"
4
4
 
5
5
  s.authors = ["Katello"]
6
6
  s.date = "2013-03-04"
@@ -1,2 +1,9 @@
1
1
  require 'deface'
2
2
  require 'foreman_katello_engine'
3
+
4
+ module ForemanKatelloEngine
5
+
6
+ # String to be used for cross-link
7
+ LABEL = "Katello"
8
+
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-katello-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -55,6 +55,7 @@ files:
55
55
  - LICENSE
56
56
  - README.md
57
57
  - Rakefile
58
+ - app/assets/images/foreman_katello_engine/link.png
58
59
  - app/controllers/foreman_katello_engine/activation_keys_controller.rb
59
60
  - app/controllers/foreman_katello_engine/api/environments_controller.rb
60
61
  - app/helpers/foreman_katello_engine/hosts_and_hostgroups_helper.rb
@@ -62,9 +63,11 @@ files:
62
63
  - app/models/foreman_katello_engine/environment.rb
63
64
  - app/models/setting/katello.rb
64
65
  - app/overrides/add_activation_keys_input.rb
66
+ - app/overrides/add_katello_link.rb
65
67
  - app/views/foreman_katello_engine/activation_keys/_host_environment_select.html.erb
66
68
  - app/views/foreman_katello_engine/activation_keys/_host_tab.html.erb
67
69
  - app/views/foreman_katello_engine/activation_keys/_host_tab_pane.html.erb
70
+ - app/views/foreman_katello_engine/layout/_katello_link.html.erb
68
71
  - app/views/unattended/kickstart-katello.erb
69
72
  - app/views/unattended/snippets/_katello_registration.erb
70
73
  - config/routes.rb
@@ -77,7 +80,6 @@ files:
77
80
  - lib/foreman_katello_engine/bindings.rb
78
81
  - lib/foreman_katello_engine/engine.rb
79
82
  - lib/foreman_katello_engine/renderer.rb
80
- - lib/foreman_katello_engine/settings.rb
81
83
  - script/rails
82
84
  - test/functional/activation_keys_controller_test.rb
83
85
  - test/functional/api/environments_controller_test.rb
File without changes