Module: RhevHelper

Defined in:
app/helpers/rhev_helper.rb

Instance Method Summary collapse

Instance Method Details

#rhev_deprecation_alertObject



2
3
4
5
6
7
8
9
# File 'app/helpers/rhev_helper.rb', line 2

def rhev_deprecation_alert
  header = _('RHEV integration is deprecated.')
  text = _('On August 31, 2022, Red Hat Virtualization entered the Maintenance Support Phase. The Maintenance Support Phase runs until August 31, 2024, followed by the Extended Life Phase, which runs until August 31, 2026.')
  link = link_to(_('More information'), 'https://access.redhat.com/announcements/6960518', target: '_blank', rel: 'noopener')
  alert = "<strong>#{header}</strong><p>#{text}&nbsp;#{link}</p>"

  (:div, alert.html_safe, class: 'alert alert-warning')
end