Module: ComplianceDashboardHelper
- Defined in:
- app/helpers/compliance_dashboard_helper.rb
Instance Method Summary collapse
Instance Method Details
#latest_compliance_headers ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/compliance_dashboard_helper.rb', line 2 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 |