forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add changes of fix portals erros notifications in master (#394)
- Loading branch information
1 parent
1f05f38
commit a2888c9
Showing
4 changed files
with
52 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
!!! | ||
%html | ||
%head | ||
%meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ | ||
%meta{content: "no-cache", name: "turbo-cache-control"}/ | ||
%body | ||
%strong Error message: | ||
%p | ||
#{@error_message} | ||
- if @current_user | ||
%p | ||
%strong Current User: | ||
%ul | ||
%li User Name: | ||
= @current_user[:username] | ||
%ul | ||
%li Email: | ||
= @current_user[:email] | ||
- else | ||
%p | ||
%strong Request IP: | ||
= @request_ip | ||
- if @current_url | ||
%p | ||
%strong Current URL: | ||
= @current_url | ||
%p | ||
%br/ | ||
%strong Details: | ||
- backtrace = @backtrace.join("\n") | ||
= simple_format(backtrace) |