= render :partial => "layouts/flash_msg"
- if @sb[:active_accord] == :schedules || params[:pressed] == "miq_report_schedule_add"
  - if @in_a_form
    = render :partial => 'schedule_form'
  - elsif @schedule
    = render :partial => 'show_schedule'
  - elsif @schedules && @view
    - if @view.table.data.empty?
      = render :partial => 'layouts/info_msg', :locals => {:message => _("No Schedules available.")}
    - else
      = render :partial => 'layouts/x_gtl'
  - else
    = render :partial => 'layouts/info_msg', :locals => {:message => _("Choose a Schedule to view from the menus on the left.")}

- if @sb[:active_accord] == :schedules || params[:pressed] == "miq_report_schedule_add"
  - if @in_a_form
    = render :partial => 'schedule_form'
  - elsif @schedule
    = render :partial => 'show_schedule'
  - elsif @schedules && @view
    - if @view.table.data.empty?
      = render :partial => 'layouts/info_msg', :locals => {:message => _("No Schedules available.")}
    - else
      = render :partial => 'layouts/x_gtl'
  - else
    = render :partial => 'layouts/info_msg', :locals => {:message => _("Choose a Schedule to view from the menus on the left.")}

Remove duplicated flash message from reporting schedule page
Remove duplicated flash message from reporting schedule page

https://bugzilla.redhat.com/show_bug.cgi?id=1269115
