Browse Source

Merge pull request #19389 from abpframework/auto-merge/rel-8-0/2601

Merge branch rel-8.1 with rel-8.0
pull/19390/head
maliming 3 years ago
committed by GitHub
parent
commit
d6cfb2f56e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      framework/src/Volo.Abp.BlazoriseUI/Components/PageAlert.razor

8
framework/src/Volo.Abp.BlazoriseUI/Components/PageAlert.razor

@ -1,4 +1,4 @@
@foreach (var alert in Alerts) @foreach (var alert in Alerts)
{ {
<Alert Visible="@alert.IsVisible" Dismisable="@alert.AlertMessage.Dismissible" Color="@GetAlertColor(alert.AlertMessage.Type)"> <Alert Visible="@alert.IsVisible" Dismisable="@alert.AlertMessage.Dismissible" Color="@GetAlertColor(alert.AlertMessage.Type)">
@if (!string.IsNullOrEmpty(alert.AlertMessage.Title)) @if (!string.IsNullOrEmpty(alert.AlertMessage.Title))
@ -12,5 +12,9 @@
</Heading> </Heading>
} }
<Paragraph>@alert.AlertMessage.Text</Paragraph> <Paragraph>@alert.AlertMessage.Text</Paragraph>
@if (alert.AlertMessage.Dismissible)
{
<CloseButton />
}
</Alert> </Alert>
} }

Loading…
Cancel
Save