Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead render partial #7609

Merged
merged 10 commits into from
Jan 28, 2021
9 changes: 0 additions & 9 deletions app/views/chargeback_rate/_rates_tabs.html.haml

This file was deleted.

2 changes: 0 additions & 2 deletions app/views/configuration/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
- case @tabform
- when 'ui_1'
= render :partial => 'ui_1'
- when 'ui_2'
= render :partial => 'ui_2'
- when 'ui_3'
= render :partial => 'ui_3'
- when 'ui_4'
Expand Down
3 changes: 0 additions & 3 deletions app/views/dashboard/_dropdownbar.html.haml

This file was deleted.

4 changes: 1 addition & 3 deletions app/views/miq_alert/_alert_details.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
- url = url_for_only_path(:action => 'alert_field_changed', :id => (@alert.id || 'new'))
- observe = {:url => url}.to_json
#alert_details_div
- if @assign
= render :partial => 'alert_assign'
- elsif @alert
- if @alert
#alert_info_div
= render :partial => "layouts/flash_msg"
%h3= _('Info')
Expand Down
6 changes: 1 addition & 5 deletions app/views/miq_policy/explorer.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
- case @nodetype
- when "root"
- case x_active_tree
- when :policy_profile_tree
= render :partial => "profile_list"
- when :policy_tree
= render :partial => "policy_folders"
- when :event_tree
Expand All @@ -22,9 +20,7 @@
- when "pp"
= render :partial => "profile_details"
- when "xx"
- if @profiles
= render :partial => "profile_list"
- elsif @policies || (@view && @sb[:tree_typ] == "policies")
- if @policies || (@view && @sb[:tree_typ] == "policies")
= render :partial => "policy_list"
- elsif @conditions
= render :partial => "condition_list"
Expand Down
2 changes: 0 additions & 2 deletions app/views/miq_request/_prov_wf.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
= render :partial => "/shared/views/prov_dialog", :locals => partial_locals
- elsif wf.kind_of?(VmMigrateWorkflow)
= render :partial => "/miq_request/prov_vm_migrate_dialog", :locals => partial_locals
- else
= render :partial => "/miq_request/prov_host_dialog", :locals => partial_locals

:javascript
miq_tabs_init('#prov_tabs', '/miq_request/prov_field_changed', {edit_mode: 'true'});
Expand Down
4 changes: 0 additions & 4 deletions app/views/miq_template/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
= render :partial => "vm_common/right_size"
- elsif @reconfigure
= render :partial => "vm_common/reconfigure"
- elsif request.parameters[:action] == "provision"
= render :partial => "vm_common/provision"
- else
- case @showtype
- when "details"
Expand All @@ -17,8 +15,6 @@
= render :partial => "layouts/compare"
- when "drift_history"
= render :partial => "layouts/drift_history"
- when "drift"
= render :partial => "layouts/drift"
- when "item"
= render :partial => "layouts/item"
- when "performance"
Expand Down
17 changes: 0 additions & 17 deletions app/views/service/_explorer.js.haml

This file was deleted.