Skip to content

Commit

Permalink
Move up and deduplicate the flash_msg_div on the Settings/Region screen
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Oct 26, 2017
1 parent c7e29dc commit e084120
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/ops/_all_tabs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#settings_list
= render :partial => "settings_list_tab"
- else
= render(:partial => "layouts/flash_msg")
%ul.nav.nav-tabs
= miq_tab_header("settings_details", @sb[:active_tab]) do
= _("Details")
Expand All @@ -63,7 +64,6 @@
= miq_tab_content("settings_cu_collection", @sb[:active_tab]) do
= render :partial => "settings_cu_collection_tab"
= miq_tab_content("settings_tags", @sb[:active_tab]) do
= render(:partial => "layouts/flash_msg")
#ops_tags_subtabs
%ul.nav.nav-tabs.nav-tabs-pf{:style => 'font-size: 12px'}
= miq_tab_header("settings_co_categories", @sb[:active_subtab]) do
Expand Down
1 change: 0 additions & 1 deletion app/views/ops/_settings_cu_collection_tab.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
:id => "config_form",
:class => "form-horizontal",
:method => :post) do
= render :partial => "layouts/flash_msg"
.row
.col-md-12.col-lg-6
%fieldset
Expand Down
1 change: 0 additions & 1 deletion app/views/ops/_settings_details_tab.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- if @sb[:active_tab] == "settings_details"
- if super_admin_user?
= render :partial => "layouts/flash_msg"
- region = MiqRegion.my_region
- if @edit
- url = url_for_only_path(:action => 'region_form_field_changed', :id => (region.id || "new"))
Expand Down
1 change: 0 additions & 1 deletion app/views/ops/_settings_replication_tab.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
%form.form-horizontal#form_div{"name" => "angularForm",
"ng-controller" => "pglogicalReplicationFormController",
"ng-show" => "afterGet"}
= render :partial => "layouts/flash_msg"
.form-group{"ng-class" => "{'has-error': angularForm.subscriptions.$invalid}"}
%label.col-md-2.control-label
= _('Type')
Expand Down
1 change: 0 additions & 1 deletion app/views/ops/_settings_rhn_tab.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@updates[] -- update information for individual servers passed to the server_table partial
- if @sb[:active_tab] == "settings_rhn"
= render :partial => 'layouts/flash_msg'

%h3
Red Hat Software Updates
Expand Down

0 comments on commit e084120

Please sign in to comment.