diff --git a/app/views/miq_policy_set/_profile_list.html.haml b/app/views/miq_policy_set/_profile_list.html.haml deleted file mode 100644 index 0e3f3c30498..00000000000 --- a/app/views/miq_policy_set/_profile_list.html.haml +++ /dev/null @@ -1,21 +0,0 @@ -- if x_node == "root" - - if @profiles - = render :partial => "layouts/flash_msg" - - if @profiles.empty? - - if @search_text.blank? - - msg = _("No %{mode} Policy Profiles are defined.") % {:mode => @mode} - - else - - msg = _("No %{mode} Policy Profiles are defined that match the entered search string.") % {:mode => @mode} - = render :partial => 'layouts/info_msg', :locals => {:message => msg} - - else - %table.table.table-striped.table-bordered.table-hover - %tbody - - @profiles.each do |profile| - %tr{:title => _("View this Profile"), - :onclick => "miqTreeActivateNode('policy_profile_tree', 'pp-#{profile.id}');"} - %td.table-view-pf-select - %i{:class => profile.decorate.fonticon} - %td - = profile.description -- else - = render :partial => "profile_details" diff --git a/app/views/miq_policy_set/show_list.html.haml b/app/views/miq_policy_set/show_list.html.haml new file mode 100644 index 00000000000..039604839f2 --- /dev/null +++ b/app/views/miq_policy_set/show_list.html.haml @@ -0,0 +1,2 @@ +#main_div + = render :partial => 'layouts/gtl'