Sha256: 855e9aff415668e8abf80d4eebf31a0a61a84e52cd6563859a3f8f31bc7696ca

Contents?: true

Size: 560 Bytes

Versions: 22

Compression:

Stored size: 560 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

22 entries across 22 versions & 1 rubygems

Version Path
foreman_openscap-0.7.13 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.12 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.11 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.10 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.9 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.8 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.7 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.6 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.5 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.8.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.4 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.3 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.2 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.1 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.6.7 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.7.0 app/helpers/compliance_dashboard_helper.rb
foreman_openscap-0.6.6 app/helpers/compliance_dashboard_helper.rb