mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
* Fix toggle alignment * Crowdfund: Change defaults (disable sounds and Disqus) * Crowdfund: Move callback notification URL into additional options Same as with the Point Of Sale options. * Crowdfund: Make enable toggle more prominent * Crowdfund: Improve start and end date form group display * Template Editor: Improve button spacing * adjusts currency + target * removes "other actions" * adjusts text * adjusts status message bottom margin Co-authored-by: dstrukt <gfxdsign@gmail.com>
23 lines
755 B
Text
23 lines
755 B
Text
@{
|
|
var parsedModel = TempData.GetStatusMessageModel();
|
|
}
|
|
|
|
@if (parsedModel != null)
|
|
{
|
|
<div class="alert alert-@parsedModel.SeverityCSS @(parsedModel.AllowDismiss? "alert-dismissible":"" ) @(ViewData["Margin"] ?? "mb-4") text-break" role="alert">
|
|
@if (parsedModel.AllowDismiss)
|
|
{
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
|
<vc:icon symbol="close" />
|
|
</button>
|
|
}
|
|
@if (!string.IsNullOrEmpty(parsedModel.Message))
|
|
{
|
|
<span style="white-space: pre-wrap;">@parsedModel.Message</span>
|
|
}
|
|
@if (!string.IsNullOrEmpty(parsedModel.Html))
|
|
{
|
|
@Safe.Raw(parsedModel.Html)
|
|
}
|
|
</div>
|
|
}
|