Skip to content

Commit

Permalink
Merge pull request #7128 from isimluk/wip-polish-instances-of-keypair
Browse files Browse the repository at this point in the history
Polish instances of keypair page
  • Loading branch information
Martin Povolny committed Mar 6, 2016
2 parents b5307e3 + 9535fd2 commit 1d801be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/controllers/auth_key_pair_cloud_controller.rb
Expand Up @@ -57,11 +57,10 @@ def show
@showtype = "main"
set_summary_pdf_data if %w(download_pdf summary_only).include?(@display)
when "instances"
table = @display == "vm_cloud"
title = ui_lookup(:tables => table)
title = ui_lookup(:tables => 'vm_cloud')
kls = ManageIQ::Providers::CloudManager::Vm
drop_breadcrumb(
:name => _(":{name} (All %{title})") % {:name => @auth_key_pair_cloud.name, :title => title},
:name => _("%{name} (All %{title})") % {:name => @auth_key_pair_cloud.name, :title => title},
:url => "/auth_key_pair_cloud/show/#{@auth_key_pair_cloud.id}?display=instances"
)
@view, @pages = get_view(kls, :parent => @auth_key_pair_cloud) # Get the records (into a view) and the paginator
Expand Down

0 comments on commit 1d801be

Please sign in to comment.