From 045f42c4c0ccf1d50222caa1bbc7c46337a41533 Mon Sep 17 00:00:00 2001 From: Lucy Fu Date: Tue, 19 Sep 2023 16:22:14 +0000 Subject: [PATCH] Fixes #36756 - Add a banner warning about RHEL lifecycle EOS per content host --- .../common/views/rhel-lifecycle-notice.html | 7 +++++++ .../content-hosts/details/views/content-host-details.html | 1 + .../javascripts/bastion_katello/hosts/host.factory.js | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 engines/bastion_katello/app/assets/javascripts/bastion_katello/common/views/rhel-lifecycle-notice.html diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/common/views/rhel-lifecycle-notice.html b/engines/bastion_katello/app/assets/javascripts/bastion_katello/common/views/rhel-lifecycle-notice.html new file mode 100644 index 00000000000..ecbd450b4ad --- /dev/null +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/common/views/rhel-lifecycle-notice.html @@ -0,0 +1,7 @@ +
+

+ + {{ host.rhel_lifecycle_status_label }} + +

+
diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html index 22d97a07f38..f8fc5ac35a7 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html @@ -54,6 +54,7 @@