Torma Kristóf
634488c2d8
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
376 B
Plaintext
11 lines
376 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>
|
|
}
|