Skip to content

Commit

Permalink
Removed listnav from non-explorer style summary screens and sub-screens
Browse files Browse the repository at this point in the history
  • Loading branch information
h-kataria committed Apr 23, 2020
1 parent 5942e8e commit ec32c0e
Show file tree
Hide file tree
Showing 64 changed files with 1 addition and 1,775 deletions.
11 changes: 0 additions & 11 deletions app/controllers/mixins/listnav_mixin.rb

This file was deleted.

5 changes: 0 additions & 5 deletions app/helpers/application_helper/listnav.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module ApplicationHelper
module Listnav
def render_listnav_filename
return controller.listnav_filename if controller.respond_to?(:listnav_filename, true)
common_layouts = %w[
auth_key_pair_cloud
availability_zone
Expand Down Expand Up @@ -72,10 +71,6 @@ def render_listnav_filename
"compare_sections"
elsif @explorer
"explorer"
elsif @layout == "timeline"
controller.controller_name
elsif common_layouts.include?(@layout)
@layout
end
end

Expand Down
1 change: 1 addition & 0 deletions app/helpers/application_helper/page_layouts.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module ApplicationHelper::PageLayouts
def layout_uses_listnav?
return false if @showtype == "main"
return false if show_list_with_no_provider?

return false if show_list_ansible?
Expand Down
19 changes: 0 additions & 19 deletions app/views/layouts/listnav/_ansible_credential.html.haml

This file was deleted.

19 changes: 0 additions & 19 deletions app/views/layouts/listnav/_ansible_playbook.html.haml

This file was deleted.

25 changes: 0 additions & 25 deletions app/views/layouts/listnav/_ansible_repository.html.haml

This file was deleted.

21 changes: 0 additions & 21 deletions app/views/layouts/listnav/_auth_key_pair_cloud.html.haml

This file was deleted.

28 changes: 0 additions & 28 deletions app/views/layouts/listnav/_availability_zone.html.haml

This file was deleted.

21 changes: 0 additions & 21 deletions app/views/layouts/listnav/_cloud_network.html.haml

This file was deleted.

29 changes: 0 additions & 29 deletions app/views/layouts/listnav/_cloud_object_store_container.html.haml

This file was deleted.

25 changes: 0 additions & 25 deletions app/views/layouts/listnav/_cloud_object_store_object.html.haml

This file was deleted.

21 changes: 0 additions & 21 deletions app/views/layouts/listnav/_cloud_subnet.html.haml

This file was deleted.

53 changes: 0 additions & 53 deletions app/views/layouts/listnav/_cloud_tenant.html.haml

This file was deleted.

34 changes: 0 additions & 34 deletions app/views/layouts/listnav/_cloud_volume.html.haml

This file was deleted.

22 changes: 0 additions & 22 deletions app/views/layouts/listnav/_cloud_volume_backup.html.haml

This file was deleted.

Loading

0 comments on commit ec32c0e

Please sign in to comment.