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-0.11.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.11.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.11.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.11.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.10.4 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.10.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.10.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.10.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.9.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.10.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.6 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.9.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.9.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.5 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.9.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.4 app/helpers/compliance_dashboard_helper.rb