-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e3cde5
commit a36c857
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,3 +396,4 @@ FodyWeavers.xsd | |
|
||
# JetBrains Rider | ||
*.sln.iml | ||
.idea/ |
19 changes: 19 additions & 0 deletions
19
CsuChhs.Blazor/Components/Common/ErrorMessageComponent.razor
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,19 @@ | ||
<div class="alert alert-danger" role="alert"> | ||
<h5 class="alert-heading">Error</h5> | ||
@if (!string.IsNullOrEmpty(Message)) | ||
{ | ||
<p>@Message</p> | ||
} | ||
else | ||
{ | ||
<p> | ||
An error has occurred. Please try again. If this continues | ||
to occur please reach out to a member of the Application Development team. | ||
</p> | ||
} | ||
</div> | ||
|
||
@code { | ||
[Parameter] | ||
public string? Message { get; set; } | ||
} |