Module: ThemeApplicationHelper

Defined in:
app/helpers/theme_application_helper.rb

Overview

rubocop:disable Metrics/LineLength Overrides for functions used in helpers.

Instance Method Summary collapse

Instance Method Details

#association_textObject



6
7
8
9
10
11
12
13
14
15
16
# File 'app/helpers/theme_application_helper.rb', line 6

def association_text()
  (:p, _('When editing a Template, you must assign a list of Operating Systems with which this Template can be used. Optionally, you can restrict a template to a list of Hostgroups or Environments.')) +
    (:p, _('When a Host requests a template (e.g. during provisioning), Foreman selects the optimal match from the available templates of that type, in the following order:')) +
    ( :ul do
      (:li, _('Host group and Environment'))
      (:li, _('Host group only'))
      (:li, _('Environment only'))
      (:li, _('Operating system default'))
    end)
  (_('The final entry, Operating System default, can be set by editing the %s page.') % (link_to _('Operating System'), operatingsystems_path)).html_safe
end