foreman_puppet 3.0.2 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/foreman_puppet/environments_helper.rb +1 -1
  3. data/app/views/foreman_puppet/config_groups/index.html.erb +3 -1
  4. data/app/views/hosts/foreman_puppet/_form_list_env_field_content.html.erb +1 -0
  5. data/app/views/hosts/foreman_puppet/_form_list_env_field_header.html.erb +1 -0
  6. data/lib/foreman_puppet/register.rb +4 -0
  7. data/lib/foreman_puppet/version.rb +1 -1
  8. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  9. data/locale/ca/foreman_puppet.edit.po +1095 -0
  10. data/locale/ca/foreman_puppet.po +70 -1
  11. data/locale/ca/foreman_puppet.po.time_stamp +0 -0
  12. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  13. data/locale/cs_CZ/foreman_puppet.edit.po +199 -184
  14. data/locale/cs_CZ/foreman_puppet.po +13 -2
  15. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  16. data/locale/de/foreman_puppet.edit.po +1122 -0
  17. data/locale/de/foreman_puppet.po +25 -13
  18. data/locale/de/foreman_puppet.po.time_stamp +0 -0
  19. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  20. data/locale/en/foreman_puppet.edit.po +33 -25
  21. data/locale/en/foreman_puppet.po +13 -1
  22. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  23. data/locale/en_GB/foreman_puppet.edit.po +1097 -0
  24. data/locale/en_GB/foreman_puppet.po +13 -2
  25. data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
  26. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  27. data/locale/es/foreman_puppet.edit.po +1104 -0
  28. data/locale/es/foreman_puppet.po +13 -2
  29. data/locale/es/foreman_puppet.po.time_stamp +0 -0
  30. data/locale/foreman_puppet.pot +48 -25
  31. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  32. data/locale/fr/foreman_puppet.edit.po +1112 -0
  33. data/locale/fr/foreman_puppet.po +13 -2
  34. data/locale/fr/foreman_puppet.po.time_stamp +0 -0
  35. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  36. data/locale/gl/foreman_puppet.edit.po +1095 -0
  37. data/locale/gl/foreman_puppet.po +13 -2
  38. data/locale/gl/foreman_puppet.po.time_stamp +0 -0
  39. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  40. data/locale/it/foreman_puppet.edit.po +1099 -0
  41. data/locale/it/foreman_puppet.po +13 -2
  42. data/locale/it/foreman_puppet.po.time_stamp +0 -0
  43. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  44. data/locale/ja/foreman_puppet.edit.po +1107 -0
  45. data/locale/ja/foreman_puppet.po +15 -4
  46. data/locale/ja/foreman_puppet.po.time_stamp +0 -0
  47. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  48. data/locale/ko/foreman_puppet.edit.po +1096 -0
  49. data/locale/ko/foreman_puppet.po +13 -2
  50. data/locale/ko/foreman_puppet.po.time_stamp +0 -0
  51. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  52. data/locale/nl_NL/foreman_puppet.edit.po +1100 -0
  53. data/locale/nl_NL/foreman_puppet.po +13 -2
  54. data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
  55. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  56. data/locale/pl/foreman_puppet.edit.po +1099 -0
  57. data/locale/pl/foreman_puppet.po +13 -2
  58. data/locale/pl/foreman_puppet.po.time_stamp +0 -0
  59. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  60. data/locale/pt_BR/foreman_puppet.edit.po +1103 -0
  61. data/locale/pt_BR/foreman_puppet.po +13 -2
  62. data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
  63. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  64. data/locale/ru/foreman_puppet.edit.po +1104 -0
  65. data/locale/ru/foreman_puppet.po +15 -4
  66. data/locale/ru/foreman_puppet.po.time_stamp +0 -0
  67. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  68. data/locale/sv_SE/foreman_puppet.edit.po +1099 -0
  69. data/locale/sv_SE/foreman_puppet.po +13 -2
  70. data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
  71. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  72. data/locale/zh_CN/foreman_puppet.edit.po +1108 -0
  73. data/locale/zh_CN/foreman_puppet.po +16 -5
  74. data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
  75. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  76. data/locale/zh_TW/foreman_puppet.edit.po +1098 -0
  77. data/locale/zh_TW/foreman_puppet.po +13 -2
  78. data/locale/zh_TW/foreman_puppet.po.time_stamp +0 -0
  79. data/test/controllers/foreman_puppet/hosts_controller_test.rb +0 -10
  80. metadata +36 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60ff3828222cc632f3ede70b60d3789bc68cd9565a501293ff037d16f089e875
4
- data.tar.gz: 4446e0632671fe04ac826ae0c6ca1315ffe2dc4555acf252ee93c7a322b9f0fc
3
+ metadata.gz: 25b2f6bd5e3a5584877b9859100eebbc09f4b91a1e975178b59878498a80a726
4
+ data.tar.gz: 2cd590159bc28a198036337042bca134e2fd835024738ff91cf395104eede2cd
5
5
  SHA512:
6
- metadata.gz: a8176437ecad24bbcbd707459114bedbadd20905ba031142cf9634aec2efe77adf6c790412b65162358c016df2999739c8b4b2f4d4c322d56673325ccf3aa65b
7
- data.tar.gz: 723ab74a3fc1b20954e446018508bd61fd35ea04fce200049cb306f04ee6240289ec136d34b00a4873ec51e211781fdb93722baabf04bcf19b777a4f211a85af
6
+ metadata.gz: 3df21f43e55f052a3e04a125d55e754db68a826e9354988eb5fe22eb6412577dd512e8218353b9deb735143db9535423ea0656cbb8b7cfb1e4e6004a1fd985d8
7
+ data.tar.gz: ef0a5f675a55cb0691fa0485e8adf68def250b385485bb10fc9cd98ed31bd8de12a2d06fb24f260a976c28f1af3c384aeacf8b07c9372e96a5314613ab5aed93
@@ -11,7 +11,7 @@ module ForemanPuppet
11
11
  def environments_title_actions
12
12
  title_actions import_proxy_select(hash_for_import_environments_environments_path.merge(engine: foreman_puppet)),
13
13
  button_group(new_link(_('Create Puppet Environment'), { engine: foreman_puppet }, id: 'new_environment')),
14
- button_group(help_button)
14
+ button_group(link_to(_('Help'), { action: 'welcome' }, { class: 'btn btn-default' }))
15
15
  end
16
16
  end
17
17
  end
@@ -2,7 +2,9 @@
2
2
  <% content_for(:search_bar) { } %>
3
3
  <% title _('Config Groups') %>
4
4
 
5
- <% title_actions new_link(_('Create Config Group'), { engine: foreman_puppet }, id: 'new_config_group'), help_button %>
5
+ <% title_actions(
6
+ new_link(_('Create Config Group'), { engine: foreman_puppet }, id: 'new_config_group'),
7
+ link_to(_('Help'), { action: 'welcome' }, { class: 'btn btn-default' })) %>
6
8
 
7
9
  <table class="<%= table_css_classes 'table-fixed' %>">
8
10
  <thead>
@@ -0,0 +1 @@
1
+ <td class="hidden-xs ellipsis"><%= host.environment %></td>
@@ -0,0 +1 @@
1
+ <th class="hidden-xs" width="10%"><%= sort :environment, :as => _("Puppet Environment") %></th>
@@ -225,4 +225,8 @@ Foreman::Plugin.register :foreman_puppet do
225
225
  priority: 100
226
226
  end
227
227
  end
228
+ extend_page 'hosts/_list' do |cx|
229
+ cx.add_pagelet :hosts_table_column_header, resource_type: 'host', partial: 'hosts/foreman_puppet/form_list_env_field_header', priority: 100
230
+ cx.add_pagelet :hosts_table_column_content, resource_type: 'host', partial: 'hosts/foreman_puppet/form_list_env_field_content', priority: 100
231
+ end
228
232
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '3.0.2'.freeze
2
+ VERSION = '3.0.5'.freeze
3
3
  end