ManageIQ/manageiq-ui-classic

View on GitHub
app/views/layouts/_exception_contents.html.haml

Summary

Maintainability
Test Coverage
#content{:style => "overflow: scroll; height: 100%; padding-left: 50px;"}
  %h1{:style => "color: #c90813"}
    = _("Unexpected error encountered")
  %br
  %h2
    = _("Errors in Management Engine can be caused by:")
  %br
  %fieldset
    %font{:style => "font-size: 116%;color: black"} ①
    = _("Accessing Management Engine from multiple tabs or windows of the same browser on a single machine.")
    = _("Close any duplicate browser sessions, then select an option from the menu.")

  %fieldset
    %font{:style => "font-size: 116%;color: black"} ②
    = _("Pressing the back button during a session.")
    %br
         
    = _("Close any duplicate browser sessions, then select an option from the menu.")

  %fieldset
    %font{:style => "font-size: 116%;color: black"} ③
    = _("An internal system error.")
    %br
         
    = _("Please contact your administrator for assistance.")
  %br
  %br
  %h2
    = _("Error text:")
  %br
  %h3 
    = message + " [#{params[:controller]}/#{params[:action]}]"