katello 4.18.0.rc2 → 4.18.1

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.

Potentially problematic release.


This version of katello might be problematic. Click here for more details.

Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/katello/locale/bn/katello.js +33 -15
  3. data/app/assets/javascripts/katello/locale/bn_IN/katello.js +33 -15
  4. data/app/assets/javascripts/katello/locale/ca/katello.js +35 -17
  5. data/app/assets/javascripts/katello/locale/cs/katello.js +33 -15
  6. data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +36 -18
  7. data/app/assets/javascripts/katello/locale/de/katello.js +44 -26
  8. data/app/assets/javascripts/katello/locale/de_AT/katello.js +33 -15
  9. data/app/assets/javascripts/katello/locale/de_DE/katello.js +35 -17
  10. data/app/assets/javascripts/katello/locale/el/katello.js +35 -17
  11. data/app/assets/javascripts/katello/locale/en/katello.js +33 -15
  12. data/app/assets/javascripts/katello/locale/en_GB/katello.js +34 -16
  13. data/app/assets/javascripts/katello/locale/en_US/katello.js +33 -15
  14. data/app/assets/javascripts/katello/locale/es/katello.js +199 -181
  15. data/app/assets/javascripts/katello/locale/et_EE/katello.js +33 -15
  16. data/app/assets/javascripts/katello/locale/fr/katello.js +941 -923
  17. data/app/assets/javascripts/katello/locale/gl/katello.js +33 -15
  18. data/app/assets/javascripts/katello/locale/gu/katello.js +33 -15
  19. data/app/assets/javascripts/katello/locale/he_IL/katello.js +33 -15
  20. data/app/assets/javascripts/katello/locale/hi/katello.js +33 -15
  21. data/app/assets/javascripts/katello/locale/id/katello.js +33 -15
  22. data/app/assets/javascripts/katello/locale/it/katello.js +35 -17
  23. data/app/assets/javascripts/katello/locale/ja/katello.js +673 -655
  24. data/app/assets/javascripts/katello/locale/ka/katello.js +439 -421
  25. data/app/assets/javascripts/katello/locale/kn/katello.js +33 -15
  26. data/app/assets/javascripts/katello/locale/ko/katello.js +2190 -2173
  27. data/app/assets/javascripts/katello/locale/ml_IN/katello.js +33 -15
  28. data/app/assets/javascripts/katello/locale/mr/katello.js +33 -15
  29. data/app/assets/javascripts/katello/locale/nl_NL/katello.js +33 -15
  30. data/app/assets/javascripts/katello/locale/or/katello.js +33 -15
  31. data/app/assets/javascripts/katello/locale/pa/katello.js +33 -15
  32. data/app/assets/javascripts/katello/locale/pl/katello.js +35 -17
  33. data/app/assets/javascripts/katello/locale/pl_PL/katello.js +33 -15
  34. data/app/assets/javascripts/katello/locale/pt/katello.js +33 -15
  35. data/app/assets/javascripts/katello/locale/pt_BR/katello.js +212 -194
  36. data/app/assets/javascripts/katello/locale/ro/katello.js +33 -15
  37. data/app/assets/javascripts/katello/locale/ro_RO/katello.js +33 -15
  38. data/app/assets/javascripts/katello/locale/ru/katello.js +35 -17
  39. data/app/assets/javascripts/katello/locale/sl/katello.js +35 -17
  40. data/app/assets/javascripts/katello/locale/sv_SE/katello.js +33 -15
  41. data/app/assets/javascripts/katello/locale/ta/katello.js +33 -15
  42. data/app/assets/javascripts/katello/locale/ta_IN/katello.js +33 -15
  43. data/app/assets/javascripts/katello/locale/te/katello.js +33 -15
  44. data/app/assets/javascripts/katello/locale/tr/katello.js +33 -15
  45. data/app/assets/javascripts/katello/locale/vi/katello.js +33 -15
  46. data/app/assets/javascripts/katello/locale/vi_VN/katello.js +33 -15
  47. data/app/assets/javascripts/katello/locale/zh/katello.js +33 -15
  48. data/app/assets/javascripts/katello/locale/zh_CN/katello.js +674 -656
  49. data/app/assets/javascripts/katello/locale/zh_TW/katello.js +35 -17
  50. data/app/controllers/katello/api/registry/registry_proxies_controller.rb +7 -3
  51. data/app/controllers/katello/api/v2/content_export_incrementals_controller.rb +91 -19
  52. data/app/controllers/katello/api/v2/errata_controller.rb +4 -4
  53. data/app/controllers/katello/api/v2/exports_controller.rb +14 -7
  54. data/app/controllers/katello/api/v2/flatpak_remote_repositories_controller.rb +9 -0
  55. data/app/controllers/katello/api/v2/host_errata_controller.rb +24 -2
  56. data/app/controllers/katello/api/v2/organizations_controller.rb +10 -4
  57. data/app/controllers/katello/api/v2/repositories_controller.rb +12 -3
  58. data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +36 -8
  59. data/app/lib/actions/katello/content_view/publish.rb +7 -7
  60. data/app/lib/actions/katello/content_view/remove_rolling_repo_clone.rb +9 -1
  61. data/app/lib/actions/katello/repository/destroy.rb +3 -2
  62. data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +1 -2
  63. data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +1 -2
  64. data/app/lib/katello/errors.rb +2 -0
  65. data/app/models/katello/content_view_environment.rb +3 -0
  66. data/app/models/katello/deb.rb +0 -2
  67. data/app/models/katello/rhel_lifecycle_status.rb +3 -1
  68. data/app/services/katello/product_content_finder.rb +11 -3
  69. data/app/services/katello/pulp3/content_view_version/export.rb +53 -31
  70. data/app/services/katello/pulp3/content_view_version/export_validator.rb +1 -1
  71. data/app/views/katello/api/v2/content_facet/base.json.rabl +3 -0
  72. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-type.filter.js +1 -1
  73. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +8 -0
  74. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/bn.po +6 -5
  75. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/bn_IN.po +6 -5
  76. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ca.po +6 -5
  77. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/cs_CZ.po +6 -5
  78. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +6 -5
  79. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de_AT.po +6 -5
  80. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de_DE.po +6 -5
  81. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/el.po +6 -5
  82. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/en_GB.po +6 -5
  83. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/en_US.po +6 -5
  84. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +6 -5
  85. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/et_EE.po +6 -5
  86. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +12 -6
  87. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/gl.po +6 -5
  88. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/gu.po +6 -5
  89. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/he_IL.po +6 -5
  90. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/hi.po +6 -5
  91. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/id.po +6 -5
  92. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +6 -5
  93. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +11 -7
  94. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ka.po +6 -5
  95. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/kn.po +6 -5
  96. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +11 -7
  97. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ml_IN.po +6 -5
  98. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/mr.po +6 -5
  99. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/nl_NL.po +6 -5
  100. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/or.po +6 -5
  101. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pa.po +6 -5
  102. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pl.po +6 -5
  103. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pl_PL.po +6 -5
  104. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt.po +6 -5
  105. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +6 -5
  106. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ro.po +6 -5
  107. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ro_RO.po +6 -5
  108. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +6 -5
  109. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/sl.po +6 -5
  110. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/sv_SE.po +6 -5
  111. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ta.po +6 -5
  112. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ta_IN.po +6 -5
  113. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/te.po +6 -5
  114. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/tr.po +6 -5
  115. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/vi.po +6 -5
  116. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/vi_VN.po +6 -5
  117. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh.po +6 -5
  118. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +11 -7
  119. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +6 -5
  120. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +11 -11
  121. data/lib/katello/plugin.rb +6 -0
  122. data/lib/katello/tasks/repository.rake +67 -0
  123. data/lib/katello/version.rb +1 -1
  124. data/locale/bn/LC_MESSAGES/katello.mo +0 -0
  125. data/locale/bn/katello.po +33 -15
  126. data/locale/bn_IN/LC_MESSAGES/katello.mo +0 -0
  127. data/locale/bn_IN/katello.po +33 -15
  128. data/locale/ca/LC_MESSAGES/katello.mo +0 -0
  129. data/locale/ca/katello.po +36 -18
  130. data/locale/cs/LC_MESSAGES/katello.mo +0 -0
  131. data/locale/cs/katello.po +33 -15
  132. data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
  133. data/locale/cs_CZ/katello.po +37 -19
  134. data/locale/de/LC_MESSAGES/katello.mo +0 -0
  135. data/locale/de/katello.po +49 -31
  136. data/locale/de_AT/LC_MESSAGES/katello.mo +0 -0
  137. data/locale/de_AT/katello.po +33 -15
  138. data/locale/de_DE/LC_MESSAGES/katello.mo +0 -0
  139. data/locale/de_DE/katello.po +36 -18
  140. data/locale/el/LC_MESSAGES/katello.mo +0 -0
  141. data/locale/el/katello.po +36 -18
  142. data/locale/en/LC_MESSAGES/katello.mo +0 -0
  143. data/locale/en/katello.po +33 -15
  144. data/locale/en_GB/LC_MESSAGES/katello.mo +0 -0
  145. data/locale/en_GB/katello.po +34 -16
  146. data/locale/en_US/LC_MESSAGES/katello.mo +0 -0
  147. data/locale/en_US/katello.po +33 -15
  148. data/locale/es/LC_MESSAGES/katello.mo +0 -0
  149. data/locale/es/katello.po +203 -184
  150. data/locale/et_EE/LC_MESSAGES/katello.mo +0 -0
  151. data/locale/et_EE/katello.po +33 -15
  152. data/locale/fr/LC_MESSAGES/katello.mo +0 -0
  153. data/locale/fr/katello.po +948 -930
  154. data/locale/gl/LC_MESSAGES/katello.mo +0 -0
  155. data/locale/gl/katello.po +33 -15
  156. data/locale/gu/LC_MESSAGES/katello.mo +0 -0
  157. data/locale/gu/katello.po +33 -15
  158. data/locale/he_IL/LC_MESSAGES/katello.mo +0 -0
  159. data/locale/he_IL/katello.po +33 -15
  160. data/locale/hi/LC_MESSAGES/katello.mo +0 -0
  161. data/locale/hi/katello.po +33 -15
  162. data/locale/id/LC_MESSAGES/katello.mo +0 -0
  163. data/locale/id/katello.po +33 -15
  164. data/locale/it/LC_MESSAGES/katello.mo +0 -0
  165. data/locale/it/katello.po +36 -18
  166. data/locale/ja/LC_MESSAGES/katello.mo +0 -0
  167. data/locale/ja/katello.po +681 -661
  168. data/locale/ka/LC_MESSAGES/katello.mo +0 -0
  169. data/locale/ka/katello.po +441 -421
  170. data/locale/katello.pot +380 -348
  171. data/locale/kn/LC_MESSAGES/katello.mo +0 -0
  172. data/locale/kn/katello.po +33 -15
  173. data/locale/ko/LC_MESSAGES/katello.mo +0 -0
  174. data/locale/ko/katello.po +2200 -2169
  175. data/locale/ml_IN/LC_MESSAGES/katello.mo +0 -0
  176. data/locale/ml_IN/katello.po +33 -15
  177. data/locale/mr/LC_MESSAGES/katello.mo +0 -0
  178. data/locale/mr/katello.po +33 -15
  179. data/locale/nl_NL/LC_MESSAGES/katello.mo +0 -0
  180. data/locale/nl_NL/katello.po +33 -15
  181. data/locale/or/LC_MESSAGES/katello.mo +0 -0
  182. data/locale/or/katello.po +33 -15
  183. data/locale/pa/LC_MESSAGES/katello.mo +0 -0
  184. data/locale/pa/katello.po +33 -15
  185. data/locale/pl/LC_MESSAGES/katello.mo +0 -0
  186. data/locale/pl/katello.po +36 -18
  187. data/locale/pl_PL/LC_MESSAGES/katello.mo +0 -0
  188. data/locale/pl_PL/katello.po +33 -15
  189. data/locale/pt/LC_MESSAGES/katello.mo +0 -0
  190. data/locale/pt/katello.po +33 -15
  191. data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
  192. data/locale/pt_BR/katello.po +216 -197
  193. data/locale/ro/LC_MESSAGES/katello.mo +0 -0
  194. data/locale/ro/katello.po +33 -15
  195. data/locale/ro_RO/LC_MESSAGES/katello.mo +0 -0
  196. data/locale/ro_RO/katello.po +33 -15
  197. data/locale/ru/LC_MESSAGES/katello.mo +0 -0
  198. data/locale/ru/katello.po +36 -18
  199. data/locale/sl/LC_MESSAGES/katello.mo +0 -0
  200. data/locale/sl/katello.po +36 -18
  201. data/locale/sv_SE/LC_MESSAGES/katello.mo +0 -0
  202. data/locale/sv_SE/katello.po +33 -15
  203. data/locale/ta/LC_MESSAGES/katello.mo +0 -0
  204. data/locale/ta/katello.po +33 -15
  205. data/locale/ta_IN/LC_MESSAGES/katello.mo +0 -0
  206. data/locale/ta_IN/katello.po +33 -15
  207. data/locale/te/LC_MESSAGES/katello.mo +0 -0
  208. data/locale/te/katello.po +33 -15
  209. data/locale/tr/LC_MESSAGES/katello.mo +0 -0
  210. data/locale/tr/katello.po +33 -15
  211. data/locale/vi/LC_MESSAGES/katello.mo +0 -0
  212. data/locale/vi/katello.po +33 -15
  213. data/locale/vi_VN/LC_MESSAGES/katello.mo +0 -0
  214. data/locale/vi_VN/katello.po +33 -15
  215. data/locale/zh/LC_MESSAGES/katello.mo +0 -0
  216. data/locale/zh/katello.po +33 -15
  217. data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
  218. data/locale/zh_CN/katello.po +680 -656
  219. data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
  220. data/locale/zh_TW/katello.po +36 -18
  221. data/webpack/components/Errata/index.js +18 -0
  222. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/HostErrataConstants.js +3 -0
  223. data/webpack/global_index.js +0 -4
  224. data/webpack/redux/actions/RedHatRepositories/helpers.js +3 -3
  225. data/webpack/redux/reducers/index.js +0 -2
  226. metadata +4 -16
  227. data/webpack/components/extensions/about/SystemStatuses.js +0 -55
  228. data/webpack/components/extensions/about/SystemStatusesActions.js +0 -16
  229. data/webpack/components/extensions/about/SystemStatusesConsts.js +0 -3
  230. data/webpack/components/extensions/about/SystemStatusesReducer.js +0 -26
  231. data/webpack/components/extensions/about/SystemStatusesSelectors.js +0 -3
  232. data/webpack/components/extensions/about/__tests__/SystemStatuses.fixtures.js +0 -20
  233. data/webpack/components/extensions/about/__tests__/SystemStatuses.test.js +0 -14
  234. data/webpack/components/extensions/about/__tests__/SystemStatusesReducer.test.js +0 -32
  235. data/webpack/components/extensions/about/__tests__/__snapshots__/SystemStatuses.test.js.snap +0 -156
  236. data/webpack/components/extensions/about/__tests__/__snapshots__/SystemStatusesReducer.test.js.snap +0 -47
  237. data/webpack/components/extensions/about/index.js +0 -19
  238. data/webpack/components/extensions/reducers.js +0 -6
@@ -8,9 +8,8 @@ module Actions
8
8
  action_subject(repository)
9
9
  validate_repositories_immediate!(repository)
10
10
  validate_export_types!(repository, opts[:format])
11
- content_view = ::Katello::Pulp3::ContentViewVersion::Export.find_repository_export_view(
11
+ content_view = ::Katello::Pulp3::ContentViewVersion::Export.find_or_create_repository_export_view(
12
12
  repository: repository,
13
- create_by_default: true,
14
13
  format: opts[:format])
15
14
  content_view.update!(repository_ids: [repository.library_instance_or_self.id])
16
15
 
@@ -178,5 +178,7 @@ module Katello
178
178
  _('Orphan cleanup failed to delete some Pulp repository versions. Check the logs for more details.')
179
179
  end
180
180
  end
181
+
182
+ class InvalidExportFormat < StandardError; end
181
183
  end
182
184
  end
@@ -32,6 +32,9 @@ module Katello
32
32
  scope :non_generated, -> { where(content_view: ::Katello::ContentView.ignore_generated) }
33
33
 
34
34
  scoped_search :on => :id, :complete_value => true
35
+ scoped_search :on => :label, :complete_value => true
36
+ scoped_search :relation => :content_view, :on => :label, :rename => :content_view
37
+ scoped_search :relation => :lifecycle_environment, :on => :label, :rename => :lifecycle_environment
35
38
 
36
39
  alias :lifecycle_environment :environment
37
40
  has_one :organization, :through => :environment
@@ -4,8 +4,6 @@ module Katello
4
4
 
5
5
  CONTENT_TYPE = 'deb'.freeze
6
6
 
7
- has_many :repository_debs, :class_name => "Katello::RepositoryDeb", :dependent => :destroy, :inverse_of => :deb
8
- has_many :repositories, :through => :repository_debs, :class_name => "Katello::Repository"
9
7
  has_many :content_facet_applicable_debs, :class_name => "Katello::ContentFacetApplicableDeb",
10
8
  :dependent => :destroy, :inverse_of => :deb
11
9
  has_many :content_facets, :through => :content_facet_applicable_debs, :class_name => "Katello::Host::ContentFacet"
@@ -14,7 +14,9 @@ module Katello
14
14
 
15
15
  RHEL_EOS_SCHEDULE = { # dates that each support category ends
16
16
  'RHEL10' => {
17
- 'full_support' => nil,
17
+ 'full_support' => end_of_day('2030-05-31'),
18
+ 'maintenance_support' => end_of_day('2035-05-31'),
19
+ 'extended_support' => end_of_day('2038-05-31'),
18
20
  },
19
21
  'RHEL9' => {
20
22
  'full_support' => end_of_day('2027-05-31'),
@@ -26,9 +26,17 @@ module Katello
26
26
  structured_apt_roots = roots.where(:content_id => nil)
27
27
  if structured_apt_roots.any?
28
28
  deb_repos_query = Katello::Repository.where(root: structured_apt_roots)
29
- environment = consumable.respond_to?(:environment) ? consumable.environment : consumable.content_view_environments.select(:environment_id).map(&:environment_id)
30
- deb_repos = match_environment ? deb_repos_query.where(content_view_version: versions, environment: environment) : deb_repos_query.where(:library_instance_id => nil)
31
- content_ids += deb_repos.pluck(:content_id)
29
+ deb_repos_library = Set.new
30
+ deb_repos_batch = []
31
+ if match_environment
32
+ consumable.content_view_environments.each do |cve|
33
+ deb_repos_batch = deb_repos_query.where("content_view_version_id = ? AND environment_id = ?", cve.content_view_version_id, cve.environment_id).where.not(library_instance_id: deb_repos_library.to_a)
34
+ deb_repos_library.merge(deb_repos_batch.pluck(:library_instance_id))
35
+ content_ids += deb_repos_batch.pluck(:content_id)
36
+ end
37
+ else
38
+ content_ids += deb_repos_query.where(:library_instance_id => nil).pluck(:content_id)
39
+ end
32
40
  end
33
41
 
34
42
  consumable.organization.enabled_product_content_for(content_ids)
@@ -5,6 +5,9 @@ module Katello
5
5
  include ImportExportCommon
6
6
  SYNCABLE = "syncable".freeze
7
7
  IMPORTABLE = "importable".freeze
8
+ UNDEFINED = "undefined".freeze
9
+
10
+ # Available formats for export (UNDEFINED excluded)
8
11
  FORMATS = [SYNCABLE, IMPORTABLE].freeze
9
12
 
10
13
  attr_reader :smart_proxy, :content_view_version, :destination_server, :from_content_view_version, :repository, :base_path
@@ -130,49 +133,68 @@ module Katello
130
133
  MetadataGenerator.new(export_service: self).generate!
131
134
  end
132
135
 
133
- def self.find_generated_export_view(destination_server:, organization:, name:, generated_for:, create_by_default: false)
134
- name += "-#{destination_server}" unless destination_server.blank?
135
- select_method = create_by_default ? :first_or_create : :first
136
- ::Katello::ContentView.where(name: name,
137
- organization: organization,
138
- generated_for: generated_for).send(select_method)
136
+ def self.find_export_view(name:, organization:, generated_for:, destination_server: nil)
137
+ full_name = destination_server.blank? ? name : "#{name}-#{destination_server}"
138
+
139
+ ::Katello::ContentView.where(
140
+ name: full_name,
141
+ organization: organization,
142
+ generated_for: generated_for
143
+ ).first
144
+ end
145
+
146
+ # Find or create export view
147
+ def self.find_or_create_export_view(name:, organization:, generated_for:, destination_server: nil)
148
+ find_export_view(name: name, organization: organization, generated_for: generated_for, destination_server: destination_server) ||
149
+ begin
150
+ full_name = destination_server.blank? ? name : "#{name}-#{destination_server}"
151
+ ::Katello::ContentView.create!(
152
+ name: full_name,
153
+ organization: organization,
154
+ generated_for: generated_for
155
+ )
156
+ end
139
157
  end
140
158
 
141
159
  def format
142
160
  is_a?(SyncableFormatExport) ? SYNCABLE : IMPORTABLE
143
161
  end
144
162
 
145
- def self.find_library_export_view(destination_server:, organization:, create_by_default: false,
146
- format: IMPORTABLE)
147
- if format == IMPORTABLE
148
- generated_for = :library_export
149
- name = ::Katello::ContentView::EXPORT_LIBRARY
150
- else
151
- generated_for = :library_export_syncable
152
- name = "#{::Katello::ContentView::EXPORT_LIBRARY}-SYNCABLE"
153
- end
154
-
155
- find_generated_export_view(create_by_default: create_by_default,
163
+ def self.find_or_create_library_export_view(destination_server:, organization:,
164
+ format: UNDEFINED)
165
+ case format
166
+ when UNDEFINED
167
+ fail ::Katello::Errors::InvalidExportFormat, _("Export format must be specified for library exports.")
168
+ when IMPORTABLE
169
+ return find_or_create_export_view(
170
+ destination_server: destination_server,
171
+ organization: organization,
172
+ name: ::Katello::ContentView::EXPORT_LIBRARY,
173
+ generated_for: :library_export)
174
+ when SYNCABLE
175
+ return find_or_create_export_view(
156
176
  destination_server: destination_server,
157
177
  organization: organization,
158
- name: name,
159
- generated_for: generated_for)
178
+ name: "#{::Katello::ContentView::EXPORT_LIBRARY}-SYNCABLE",
179
+ generated_for: :library_export_syncable)
180
+ else
181
+ fail ::Katello::Errors::InvalidExportFormat, _("Unknown library export format '%s'.") % format
182
+ end
160
183
  end
161
184
 
162
- def self.find_repository_export_view(repository:, create_by_default: false,
163
- format: IMPORTABLE)
164
- if format == IMPORTABLE
165
- generated_for = :repository_export
166
- name = "Export-#{repository.label}-#{repository.library_instance_or_self.id}"
185
+ def self.find_or_create_repository_export_view(repository:, format: UNDEFINED)
186
+ case format
187
+ when UNDEFINED
188
+ fail ::Katello::Errors::InvalidExportFormat, _("Export format must be specified for non-incremental repository exports.")
189
+ when IMPORTABLE
190
+ return find_or_create_export_view(destination_server: nil, organization: repository.organization,
191
+ name: "Export-#{repository.label}-#{repository.library_instance_or_self.id}", generated_for: :repository_export)
192
+ when SYNCABLE
193
+ return find_or_create_export_view(destination_server: nil, organization: repository.organization,
194
+ name: "Export-SYNCABLE-#{repository.label}-#{repository.library_instance_or_self.id}", generated_for: :repository_export_syncable)
167
195
  else
168
- generated_for = :repository_export_syncable
169
- name = "Export-SYNCABLE-#{repository.label}-#{repository.library_instance_or_self.id}"
196
+ fail ::Katello::Errors::InvalidExportFormat, _("Unknown repository export format '%s'.") % format
170
197
  end
171
- find_generated_export_view(create_by_default: create_by_default,
172
- destination_server: nil,
173
- organization: repository.organization,
174
- name: name,
175
- generated_for: generated_for)
176
198
  end
177
199
 
178
200
  def self.generate_product_repo_strings(repositories:)
@@ -74,7 +74,7 @@ module Katello
74
74
  # You are trying to export between an incrementally updated content view version and regular version
75
75
  if from_content_view_version.incrementally_updated? != content_view_version.incrementally_updated?
76
76
  fail ExportValidationError,
77
- _("Cannot incrementally export from a incrementally exported version and a regular version or vice-versa. "\
77
+ _("Cannot incrementally export from a incrementally updated version and a regular version or vice-versa. "\
78
78
  " The exported Content View Version '%{content_view} %{current}' "\
79
79
  "cannot be incrementally exported from version '%{from}.'"\
80
80
  " Please do a full export." % { content_view: content_view_version.content_view.name,
@@ -31,6 +31,9 @@ child :content_view_environments => :content_view_environments do
31
31
  node :label do |cve|
32
32
  cve.label
33
33
  end
34
+ node :id do |cve|
35
+ cve.id
36
+ end
34
37
  end
35
38
 
36
39
  attributes :content_view_environment_labels
@@ -25,7 +25,7 @@ angular.module('Bastion.errata').filter('errataType', ['translate', function (tr
25
25
  errataType = translate('Security Advisory');
26
26
  break;
27
27
  default:
28
- errataType = type;
28
+ errataType = translate('Other Advisory');
29
29
  }
30
30
 
31
31
  return errataType;
@@ -2956,6 +2956,10 @@ msgstr ""
2956
2956
  msgid "OSTree Repositories <div>{{ library.counts.ostree_repositories || 0 }}</div>"
2957
2957
  msgstr ""
2958
2958
 
2959
+ #: app/assets/javascripts/bastion_katello/errata/errata-type.filter.js
2960
+ msgid "Other Advisory"
2961
+ msgstr ""
2962
+
2959
2963
  #: app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-repository-sets.controller.js
2960
2964
  msgid "Overridden"
2961
2965
  msgstr ""
@@ -4733,6 +4737,10 @@ msgstr ""
4733
4737
  msgid "Username of the upstream repository user for authentication. Leave empty if repository does not require authentication."
4734
4738
  msgstr ""
4735
4739
 
4740
+ #: app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html
4741
+ msgid "Using a search parameter will improve repository discovery. A blank search might return an incomplete list due to registry's API limits."
4742
+ msgstr ""
4743
+
4736
4744
  #: app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html
4737
4745
  msgid "Variant"
4738
4746
  msgstr ""
@@ -293,6 +293,12 @@ msgid ""
293
293
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
294
294
  msgstr ""
295
295
 
296
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
297
+ msgid ""
298
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
299
+ " Host' | translate}} </span>"
300
+ msgstr ""
301
+
296
302
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
297
303
  msgid "1 Content Host"
298
304
  msgid_plural ""
@@ -670,7 +676,6 @@ msgstr ""
670
676
 
671
677
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
672
678
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
673
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
674
679
  msgid "Apply Errata"
675
680
  msgstr ""
676
681
 
@@ -3494,10 +3499,6 @@ msgstr ""
3494
3499
  msgid "Register a Content Host"
3495
3500
  msgstr ""
3496
3501
 
3497
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3498
- msgid "Register Content Host"
3499
- msgstr ""
3500
-
3501
3502
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3502
3503
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3503
3504
  msgid "Registered"
@@ -293,6 +293,12 @@ msgid ""
293
293
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
294
294
  msgstr ""
295
295
 
296
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
297
+ msgid ""
298
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
299
+ " Host' | translate}} </span>"
300
+ msgstr ""
301
+
296
302
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
297
303
  msgid "1 Content Host"
298
304
  msgid_plural ""
@@ -670,7 +676,6 @@ msgstr ""
670
676
 
671
677
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
672
678
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
673
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
674
679
  msgid "Apply Errata"
675
680
  msgstr ""
676
681
 
@@ -3494,10 +3499,6 @@ msgstr ""
3494
3499
  msgid "Register a Content Host"
3495
3500
  msgstr ""
3496
3501
 
3497
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3498
- msgid "Register Content Host"
3499
- msgstr ""
3500
-
3501
3502
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3502
3503
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3503
3504
  msgid "Registered"
@@ -293,6 +293,12 @@ msgid ""
293
293
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
294
294
  msgstr ""
295
295
 
296
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
297
+ msgid ""
298
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
299
+ " Host' | translate}} </span>"
300
+ msgstr ""
301
+
296
302
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
297
303
  msgid "1 Content Host"
298
304
  msgid_plural ""
@@ -670,7 +676,6 @@ msgstr ""
670
676
 
671
677
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
672
678
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
673
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
674
679
  msgid "Apply Errata"
675
680
  msgstr ""
676
681
 
@@ -3494,10 +3499,6 @@ msgstr ""
3494
3499
  msgid "Register a Content Host"
3495
3500
  msgstr ""
3496
3501
 
3497
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3498
- msgid "Register Content Host"
3499
- msgstr ""
3500
-
3501
3502
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3502
3503
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3503
3504
  msgid "Registered"
@@ -298,6 +298,12 @@ msgid ""
298
298
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
299
299
  msgstr ""
300
300
 
301
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
302
+ msgid ""
303
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
304
+ " Host' | translate}} </span>"
305
+ msgstr ""
306
+
301
307
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
302
308
  msgid "1 Content Host"
303
309
  msgid_plural ""
@@ -685,7 +691,6 @@ msgstr ""
685
691
 
686
692
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
687
693
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
688
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
689
694
  msgid "Apply Errata"
690
695
  msgstr ""
691
696
 
@@ -3524,10 +3529,6 @@ msgstr "Znovu načíst tabulku"
3524
3529
  msgid "Register a Content Host"
3525
3530
  msgstr ""
3526
3531
 
3527
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3528
- msgid "Register Content Host"
3529
- msgstr ""
3530
-
3531
3532
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3532
3533
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3533
3534
  msgid "Registered"
@@ -313,6 +313,12 @@ msgid ""
313
313
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
314
314
  msgstr ""
315
315
 
316
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
317
+ msgid ""
318
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
319
+ " Host' | translate}} </span>"
320
+ msgstr ""
321
+
316
322
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
317
323
  msgid "1 Content Host"
318
324
  msgid_plural ""
@@ -700,7 +706,6 @@ msgstr ""
700
706
 
701
707
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
702
708
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
703
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
704
709
  msgid "Apply Errata"
705
710
  msgstr "Errata anwenden"
706
711
 
@@ -3650,10 +3655,6 @@ msgstr "Tabelle aktualisieren"
3650
3655
  msgid "Register a Content Host"
3651
3656
  msgstr "Inhaltshost registrieren"
3652
3657
 
3653
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3654
- msgid "Register Content Host"
3655
- msgstr "Inhaltshosts registrieren"
3656
-
3657
3658
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3658
3659
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3659
3660
  msgid "Registered"
@@ -289,6 +289,12 @@ msgid ""
289
289
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
290
290
  msgstr ""
291
291
 
292
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
293
+ msgid ""
294
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
295
+ " Host' | translate}} </span>"
296
+ msgstr ""
297
+
292
298
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
293
299
  msgid "1 Content Host"
294
300
  msgid_plural ""
@@ -666,7 +672,6 @@ msgstr ""
666
672
 
667
673
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
668
674
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
669
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
670
675
  msgid "Apply Errata"
671
676
  msgstr ""
672
677
 
@@ -3490,10 +3495,6 @@ msgstr ""
3490
3495
  msgid "Register a Content Host"
3491
3496
  msgstr ""
3492
3497
 
3493
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3494
- msgid "Register Content Host"
3495
- msgstr ""
3496
-
3497
3498
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3498
3499
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3499
3500
  msgid "Registered"
@@ -295,6 +295,12 @@ msgid ""
295
295
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
296
296
  msgstr ""
297
297
 
298
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
299
+ msgid ""
300
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
301
+ " Host' | translate}} </span>"
302
+ msgstr ""
303
+
298
304
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
299
305
  msgid "1 Content Host"
300
306
  msgid_plural ""
@@ -672,7 +678,6 @@ msgstr ""
672
678
 
673
679
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
674
680
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
675
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
676
681
  msgid "Apply Errata"
677
682
  msgstr ""
678
683
 
@@ -3496,10 +3501,6 @@ msgstr ""
3496
3501
  msgid "Register a Content Host"
3497
3502
  msgstr ""
3498
3503
 
3499
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3500
- msgid "Register Content Host"
3501
- msgstr ""
3502
-
3503
3504
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3504
3505
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3505
3506
  msgid "Registered"
@@ -293,6 +293,12 @@ msgid ""
293
293
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
294
294
  msgstr ""
295
295
 
296
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
297
+ msgid ""
298
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
299
+ " Host' | translate}} </span>"
300
+ msgstr ""
301
+
296
302
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
297
303
  msgid "1 Content Host"
298
304
  msgid_plural ""
@@ -670,7 +676,6 @@ msgstr ""
670
676
 
671
677
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
672
678
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
673
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
674
679
  msgid "Apply Errata"
675
680
  msgstr ""
676
681
 
@@ -3494,10 +3499,6 @@ msgstr ""
3494
3499
  msgid "Register a Content Host"
3495
3500
  msgstr ""
3496
3501
 
3497
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3498
- msgid "Register Content Host"
3499
- msgstr ""
3500
-
3501
3502
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3502
3503
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3503
3504
  msgid "Registered"
@@ -294,6 +294,12 @@ msgid ""
294
294
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
295
295
  msgstr ""
296
296
 
297
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
298
+ msgid ""
299
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
300
+ " Host' | translate}} </span>"
301
+ msgstr ""
302
+
297
303
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
298
304
  msgid "1 Content Host"
299
305
  msgid_plural ""
@@ -671,7 +677,6 @@ msgstr ""
671
677
 
672
678
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
673
679
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
674
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
675
680
  msgid "Apply Errata"
676
681
  msgstr ""
677
682
 
@@ -3495,10 +3500,6 @@ msgstr ""
3495
3500
  msgid "Register a Content Host"
3496
3501
  msgstr ""
3497
3502
 
3498
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3499
- msgid "Register Content Host"
3500
- msgstr ""
3501
-
3502
3503
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3503
3504
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3504
3505
  msgid "Registered"
@@ -289,6 +289,12 @@ msgid ""
289
289
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
290
290
  msgstr ""
291
291
 
292
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
293
+ msgid ""
294
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
295
+ " Host' | translate}} </span>"
296
+ msgstr ""
297
+
292
298
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
293
299
  msgid "1 Content Host"
294
300
  msgid_plural ""
@@ -666,7 +672,6 @@ msgstr ""
666
672
 
667
673
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
668
674
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
669
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
670
675
  msgid "Apply Errata"
671
676
  msgstr ""
672
677
 
@@ -3490,10 +3495,6 @@ msgstr ""
3490
3495
  msgid "Register a Content Host"
3491
3496
  msgstr ""
3492
3497
 
3493
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3494
- msgid "Register Content Host"
3495
- msgstr ""
3496
-
3497
3498
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3498
3499
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3499
3500
  msgid "Registered"
@@ -308,6 +308,12 @@ msgid ""
308
308
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
309
309
  msgstr ""
310
310
 
311
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
312
+ msgid ""
313
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
314
+ " Host' | translate}} </span>"
315
+ msgstr ""
316
+
311
317
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
312
318
  msgid "1 Content Host"
313
319
  msgid_plural ""
@@ -704,7 +710,6 @@ msgstr ""
704
710
 
705
711
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
706
712
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
707
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
708
713
  msgid "Apply Errata"
709
714
  msgstr "Aplicar Errata"
710
715
 
@@ -3633,10 +3638,6 @@ msgstr "Actualizar tabla"
3633
3638
  msgid "Register a Content Host"
3634
3639
  msgstr "Registrar un alojamiento de contenidos"
3635
3640
 
3636
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3637
- msgid "Register Content Host"
3638
- msgstr "Registrar anfitrión de contenidos"
3639
-
3640
3641
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3641
3642
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3642
3643
  msgid "Registered"
@@ -289,6 +289,12 @@ msgid ""
289
289
  " This Host is not currently registered with subscription-manager. Use the <a href=\"/hosts/register\">Register Host</a> workflow to complete registration."
290
290
  msgstr ""
291
291
 
292
+ #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
293
+ msgid ""
294
+ "<span> {{table.numSelected &gt 1? 'Register Content Hosts':'Register Content"
295
+ " Host' | translate}} </span>"
296
+ msgstr ""
297
+
292
298
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
293
299
  msgid "1 Content Host"
294
300
  msgid_plural ""
@@ -666,7 +672,6 @@ msgstr ""
666
672
 
667
673
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html
668
674
  #: app/assets/javascripts/bastion_katello/errata/views/apply-errata.html
669
- #: app/assets/javascripts/bastion_katello/errata/views/errata.html
670
675
  msgid "Apply Errata"
671
676
  msgstr ""
672
677
 
@@ -3490,10 +3495,6 @@ msgstr ""
3490
3495
  msgid "Register a Content Host"
3491
3496
  msgstr ""
3492
3497
 
3493
- #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3494
- msgid "Register Content Host"
3495
- msgstr ""
3496
-
3497
3498
  #: app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html
3498
3499
  #: app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html
3499
3500
  msgid "Registered"