foreman/app/views/common/500.html.erb @ 5d6ab0b1
6366e9e2 | Bryan Kearney | <% title _("Oops, we're sorry but something went wrong") %>
|
|
11b840ca | Ohad Levy | ||
5d6ab0b1 | Amos Benari | <div class="alert alert-message alert-block alert-danger base in fade">
|
|
82e47ae0 | Amos Benari | <a class="close" href="#" data-dismiss="alert">x</a>
|
|
0423daa9 | Ohad Levy | <%= h exception.message %>
|
|
11b840ca | Ohad Levy | </div>
|
|
f257f11b | Ohad Levy | <p>
|
|
6366e9e2 | Bryan Kearney | <%= _("If you feel this is an error with Foreman itself, please open a new issue with") %> <%= link_to _("Foreman ticketing system"), "http://theforeman.org/projects/foreman/issues", :rel => "external" %>,
|
|
<%= _("You would probably need to attach the") %>
|
|||
feacea35 | Amos Benari | <%= link_to_function(_("Full trace"), "$('#backtrace').toggle()")%> <%= _("and relevant log entries.") %>
|
|
f257f11b | Ohad Levy | </p>
|
|
11b840ca | Ohad Levy | ||
5d6ab0b1 | Amos Benari | <div id="backtrace" class="alert alert-message alert-block alert-danger base in fade hide">
|
|
05ab4c16 | Ohad Levy | <em><%= exception.class %></em><br>
|
|
<strong><%= exception.message %></strong><br>
|
|||
a8812713 | Ohad Levy | <%= Rails.backtrace_cleaner.clean(exception.backtrace).join("<br>").html_safe %>
|
|
f257f11b | Ohad Levy | </div>
|
|
6366e9e2 | Bryan Kearney | <p><%= link_to _("Back"), root_path %></p>
|