ManageIQ/manageiq-ui-classic

View on GitHub
app/presenters/tree_node/compliance.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module TreeNode
  class Compliance < Node
    set_attribute(:text) do
      ViewHelper.capture do
        ViewHelper.concat(ViewHelper.content_tag(:strong, "#{_('Compliance Check on')}: "))
        ViewHelper.concat(format_timezone(@object.timestamp, Time.zone, 'gtl'))
      end
    end
  end
end