Sha256: b8ac294500f65732e6af8e50b21c47dc45667dff3837c74bfd195b14a680d422

Contents?: true

Size: 558 Bytes

Versions: 76

Compression:

Stored size: 558 Bytes

Contents

module ComplianceDashboardHelper
  def latest_compliance_headers
    string =  "<th class='col-md-7'>#{_("Host")}</th>"
    string += "<th class='col-md-3'>#{_("Policy")}</th>"
    # TRANSLATORS: initial character of Passed
    string += translated_header(s_('Passed|P'), _('Passed'))
    # TRANSLATORS: initial character of Failed
    string += translated_header(s_('Failed|F'), _('Failed'))
    # TRANSLATORS: initial character of Othered which is an SCAP term
    string += translated_header(s_('Othered|O'), _('Othered'))

    string.html_safe
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-10.0.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-10.0.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-10.0.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-10.0.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-9.0.4 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-9.0.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-9.0.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-9.0.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-9.0.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-8.0.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-7.1.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-7.1.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-7.0.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-6.0.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-5.2.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-5.2.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-5.1.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-5.2.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-5.2.0 app/helpers/compliance_dashboard_helper.rb