-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return the full rejection message and errors in flash errors (#13221)
Signed-off-by: Andrew Thornton <[email protected]>
- Loading branch information
Showing
9 changed files
with
128 additions
and
25 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 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 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 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{{if .Flash.ErrorMsg}} | ||
<div class="ui negative message"> | ||
<div class="ui negative message flash-error"> | ||
<p>{{.Flash.ErrorMsg | Str2html}}</p> | ||
</div> | ||
{{end}} | ||
{{if .Flash.SuccessMsg}} | ||
<div class="ui positive message"> | ||
<div class="ui positive message flash-success"> | ||
<p>{{.Flash.SuccessMsg | Str2html}}</p> | ||
</div> | ||
{{end}} | ||
{{if .Flash.InfoMsg}} | ||
<div class="ui info message"> | ||
<div class="ui info message flash-info"> | ||
<p>{{.Flash.InfoMsg | Str2html}}</p> | ||
</div> | ||
{{end}} |
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,7 @@ | ||
{{.Message}} | ||
<details> | ||
<summary>{{.Summary}}</summary> | ||
<code> | ||
{{.Details | Str2html}} | ||
</code> | ||
</details> |
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