mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
11 lines
375 B
Plaintext
11 lines
375 B
Plaintext
@model string
|
|
|
|
@if(!String.IsNullOrEmpty(Model))
|
|
{
|
|
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
|
|
<div class="alert alert-@statusMessageClass alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
@Model
|
|
</div>
|
|
}
|