ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/toolbar/miq_reports_center.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Toolbar::MiqReportsCenter < ApplicationHelper::Toolbar::Basic
  button_group('report_vmdb', [
    select(
      :report_vmdb_choice,
      nil,
      t = N_('Configuration'),
      t,
      :items => [
        button(
          :miq_report_new,
          'pficon pficon-add-circle-o fa-lg',
          t = N_('Add a new Report'),
          t,
          :klass => ApplicationHelper::Button::MiqReportNew),
      ]
    ),
  ])
end