Skip to content

Commit

Permalink
Merge pull request #2429 from lgalis/download_pdf_button_missing_for_…
Browse files Browse the repository at this point in the history
…infra_providers

Add the download_pdf button to summary view for infrastructure providers
  • Loading branch information
mzazrivec committed Oct 18, 2017
2 parents 311c2bc + d3e12a4 commit 86cc511
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -26,4 +26,14 @@ class ApplicationHelper::Toolbar::DashboardSummaryToggleView < ApplicationHelper
:url_parms => "?display=topology",
:klass => ApplicationHelper::Button::TopologyFeatureButton)
])
button_group('summary_download', [
button(
:download_view,
'fa fa-file-pdf-o fa-lg',
N_('Download summary in PDF format'),
nil,
:klass => ApplicationHelper::Button::Pdf,
:url => "/download_summary_pdf"
),
])
end

0 comments on commit 86cc511

Please sign in to comment.