Sha256: 950cbda744de69e2a09a616a65b33a2d19ddd15479989a279b801e89e6f656bb
Contents?: true
Size: 458 Bytes
Versions: 18
Compression:
Stored size: 458 Bytes
Contents
module ProvisioningTemplatesHelperBranding def link_to_if_authorized(name, options = {}, html_options = {}) return super unless name.is_a?(ProvisioningTemplate) return super unless ProvisioningTemplatesControllerBranding::SUPPORTED_PROVISIONING_TEMPLATES.include?(name.name) image_tag( 'foreman_theme_satellite/supported_icon.png', class: 'prov-brand-img', title: _('Supported by Red Hat') ).safe_concat(super) end end
Version data entries
18 entries across 18 versions & 1 rubygems